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 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 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 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 configure(self): KnuthConanFile.configure(self) if self.settings.compiler == "Visual Studio": self.options.without_thread = False
def configure(self): KnuthConanFile.configure(self)