def configure(self): KnuthConanFile.configure(self) if self.options.keoken and self.options.currency != "BCH": self.output.warn( "For the moment Keoken is only enabled for BCH. Building without Keoken support..." ) del self.options.keoken else: self.options["*"].keoken = self.options.keoken if self.is_keoken: if self.options.db == "pruned" or self.options.db == "default": self.output.warn( "Keoken mode requires db=full and your configuration is db=%s, it has been changed automatically..." % (self.options.db, )) self.options.db = "full" self.options["*"].db_readonly = self.options.db_readonly self.output.info("Compiling with read-only DB: %s" % (self.options.db_readonly, )) # self.options["*"].mining = self.options.mining # self.options["*"].mempool = self.options.mempool # self.output.info("Compiling with mining optimizations: %s" % (self.options.mining,)) self.output.info("Compiling with mempool: %s" % (self.options.mempool, )) #TODO(fernando): move to kthbuild self.options["*"].log = self.options.log self.output.info("Compiling with log: %s" % (self.options.log, )) self.options["*"].use_libmdbx = self.options.use_libmdbx self.output.info("Compiling with use_libmdbx: %s" % (self.options.use_libmdbx, ))
def package_id(self): KnuthConanFile.package_id(self) if self.options.header_only: self.info.header_only() else: del self.info.options.with_fmt_alias
def package_id(self): KnuthConanFile.package_id(self) if self.dont_compile: self.info.requires.clear() self.output.info("package_id - self.channel: %s" % (self.channel, )) self.output.info("package_id - self.options.no_compilation: %s" % (self.options.no_compilation, )) self.output.info("package_id - self.settings.compiler: %s" % (self.settings.compiler, )) self.output.info("package_id - self.settings.arch: %s" % (self.settings.arch, )) self.output.info("package_id - self.settings.os: %s" % (self.settings.os, )) self.output.info( "package_id - is_development_branch_internal: %s" % (is_development_branch_internal(self.channel), )) # if not is_development_branch_internal(self.channel): # self.info.settings.compiler = "ANY" # self.info.settings.build_type = "ANY" self.info.settings.compiler = "ANY" self.info.settings.build_type = "ANY" self.info.options.no_compilation = "ANY"
def config_options(self): KnuthConanFile.config_options(self) if self.options.keoken and self.options.currency != "BCH": self.output.warning( "Keoken is only enabled for BCH, for the moment. Removing Keoken support" ) self.options.remove("keoken")
def configure(self): KnuthConanFile.configure(self) # if self.options.no_compilation or (self.settings.compiler == None and self.settings.arch == 'x86_64' and self.settings.os in ('Linux', 'Windows', 'Macos')): if self.dont_compile: self.settings.remove("compiler") self.settings.remove("build_type") if self.options.keoken and not self.options.rpc: self.output.warn( "Keoken is only available building with Json-RPC support. Building without Keoken support..." ) del self.options.keoken if self.is_keoken and self.options.currency != "BCH": self.output.warn( "For the moment Keoken is only enabled for BCH. Building without Keoken support..." ) del self.options.keoken if self.is_keoken: if self.options.db == "pruned" or self.options.db == "default": self.output.warn( "Keoken mode requires db=full and your configuration is db=%s, it has been changed automatically..." % (self.options.db, )) self.options.db = "full" # It is not working as expected. # if self.settings.os == "Linux" and self.settings.compiler == "gcc" and self.settings.compiler.libcxx == "libstdc++": # self.settings.compiler.libcxx = "libstdc++11" self.options["*"].keoken = self.is_keoken self.options["*"].db_readonly = self.options.db_readonly self.output.info("Compiling with read-only DB: %s" % (self.options.db_readonly, )) self.options["*"].mempool = self.options.mempool self.output.info("Compiling with mempool: %s" % (self.options.mempool, )) self.options["*"].rpc = self.options.rpc self.output.info("Compiling with RPC support: %s" % (self.options.rpc, )) #TODO(fernando): move to kthbuild self.options["*"].log = self.options.log self.output.info("Compiling with log: %s" % (self.options.log, )) self.options["*"].use_libmdbx = self.options.use_libmdbx self.output.info("Compiling with use_libmdbx: %s" % (self.options.use_libmdbx, )) self.options["*"].statistics = self.options.statistics self.output.info("Compiling with statistics: %s" % (self.options.statistics, ))
def configure(self): KnuthConanFile.configure(self) if self.options.header_only: self.settings.clear() del self.options.fPIC del self.options.shared del self.options.microarchitecture del self.options.fix_march del self.options.march_id del self.options.glibcxx_supports_cxx11_abi
def configure(self): KnuthConanFile.configure(self) if self.options.keoken and self.options.currency != "BCH": self.output.warn( "For the moment Keoken is only enabled for BCH. Building without Keoken support..." ) del self.options.keoken else: self.options["*"].keoken = self.options.keoken self.options["*"].cached_rpc_data = self.options.cached_rpc_data self.options["*"].log = self.options.log self.output.info("Compiling with log: %s" % (self.options.log, ))
def configure(self): KnuthConanFile.configure(self) self.options["*"].cached_rpc_data = self.options.cached_rpc_data self.options["*"].measurements = self.options.measurements self.options["*"].db_readonly = self.options.db_readonly self.output.info("Compiling with read-only DB: %s" % (self.options.db_readonly, )) # self.options["*"].currency = self.options.currency # self.output.info("Compiling for currency: %s" % (self.options.currency,)) self.output.info("Compiling with measurements: %s" % (self.options.measurements, )) self.output.info("Compiling for DB: %s" % (self.options.db, )) self.options["*"].log = self.options.log self.output.info("Compiling with log: %s" % (self.options.log, ))
def configure(self): KnuthConanFile.configure(self) # "enable_experimental=False", \ # "enable_endomorphism=False", \ # "enable_ecmult_static_precomputation=True", \ # "enable_module_ecdh=False", \ # "enable_module_schnorr=True", \ # "enable_module_recovery=True", \ # "enable_module_multiset=True", \ # if self.options.log != "boost": # self.options["boost"].without_filesystem = True # self.options["boost"].without_log = True if self.options.currency == 'BCH': self.options["secp256k1"].enable_module_schnorr = True else: self.options["secp256k1"].enable_module_schnorr = False
def configure(self): KnuthConanFile.configure(self) if self.options.no_compilation or (self.settings.compiler == None and self.settings.arch == 'x86_64' and self.settings.os in ('Linux', 'Windows', 'Macos')): self.settings.remove("compiler") self.settings.remove("build_type") if self.options.keoken and self.options.currency != "BCH": self.output.warn( "For the moment Keoken is only enabled for BCH. Building without Keoken support..." ) del self.options.keoken else: self.options["*"].keoken = self.options.keoken if self.is_keoken: if self.options.db == "pruned" or self.options.db == "default": self.output.warn( "Keoken mode requires db=full and your configuration is db=%s, it has been changed automatically..." % (self.options.db, )) self.options.db = "full" self.options["*"].keoken = self.is_keoken self.options["*"].db_readonly = self.options.db_readonly self.output.info("Compiling with read-only DB: %s" % (self.options.db_readonly, )) self.options["*"].mempool = self.options.mempool self.output.info("Compiling with mempool: %s" % (self.options.mempool, )) #TODO(fernando): move to kthbuild self.options["*"].log = self.options.log self.output.info("Compiling with log: %s" % (self.options.log, )) self.options["*"].use_libmdbx = self.options.use_libmdbx self.output.info("Compiling with use_libmdbx: %s" % (self.options.use_libmdbx, ))
def configure(self): KnuthConanFile.configure(self) if self.options.keoken and self.options.currency != "BCH": self.output.warn( "For the moment Keoken is only enabled for BCH. Building without Keoken support..." ) del self.options.keoken else: self.options["*"].keoken = self.options.keoken if self.is_keoken: if self.options.db == "pruned" or self.options.db == "default": self.output.warn( "Keoken mode requires db=full and your configuration is db=%s, it has been changed automatically..." % (self.options.db, )) self.options.db = "full" # self.options["*"].mining = self.options.mining # self.options["*"].mempool = self.options.mempool # self.output.info("Compiling with mining optimizations: %s" % (self.options.mining,)) self.output.info("Compiling with mempool: %s" % (self.options.mempool, ))
def package_id(self): KnuthConanFile.package_id(self) self.info.options.console = "ANY" self.info.options.no_compilation = "ANY"
def configure(self): KnuthConanFile.configure(self)
def package_id(self): KnuthConanFile.package_id(self) self.info.options.tools = "ANY"
def package_id(self): KnuthConanFile.package_id(self)
def configure(self): KnuthConanFile.configure(self) #TODO(fernando): move to kthbuild self.options["*"].log = self.options.log self.output.info("Compiling with log: %s" % (self.options.log, ))
def config_options(self): KnuthConanFile.config_options(self)
def package_id(self): KnuthConanFile.package_id(self) self.info.options.benchmark = "ANY" self.info.options.openssl_tests = "ANY"
def configure(self): # del self.settings.compiler.libcxx #Pure-C Library KnuthConanFile.configure(self, pure_c=False)
def configure(self): KnuthConanFile.configure(self) self.options["*"].currency = "BCH"
def config_options(self): KnuthConanFile.config_options(self) #TODO: chequear si está repetido en la función de arriba if self.settings.os == "Windows": del self.options.fPIC
def package_id(self): KnuthConanFile.package_id(self) # self.output.info('def package_id(self):') if self.options.header_only: self.info.header_only()
def configure(self): KnuthConanFile.configure(self) if self.settings.compiler == "Visual Studio": self.options.without_thread = False