def configure(cfg): generic._configure(cfg, 'protobuf', incs=('google/protobuf/message.h', ), libs=('protobuf', ), mandatory=False) cfg.find_program('protoc', var='PROTOC', mandatory=False)
def configure(cfg): generic._configure(cfg, 'ptmp', incs=('ptmp/api.h', ), libs=('ptmp', ), uses='LIBZMQ LIBCZMQ PROTOBUF', mandatory=True)
def configure(cfg): generic._configure(cfg, 'czmq', incs=('czmq.h', ), libs=('czmq', ), pcname='libczmq', uses='LIBZMQ', mandatory=True)
def configure(cfg): generic._configure(cfg, name, incs=('czmq.h', ), libs=('czmq', ), pcname=name.lower(), uses='LIBZMQ', mandatory=True)
def configure(cfg): generic._configure(cfg, "CUDA", mandatory=False, incs=["cuda.h"], libs=["cuda", "cudart"], bins=["nvcc"]) if not 'HAVE_CUDA' in cfg.env: return nvccflags = "-shared -Xcompiler -fPIC " nvccflags += os.environ.get("NVCCFLAGS", "") cfg.env.NVCCFLAGS += nvccflags.strip().split() print("NVCCFLAGS = %s" % (' '.join(cfg.env.NVCCFLAGS)))
def configure(cfg): print('Compile options: %s' % cfg.options.build_debug) cfg.load('smplpkgs') for name, args in package_descriptions.items(): #print ("Configure: %s %s" % (name, args)) generic._configure(cfg, name, **args) #print ("configured %s" % name) if cfg.options.with_cuda is False: print("sans CUDA") else: cfg.load('cuda') if cfg.options.with_root is False: print("sans ROOT") else: cfg.load('rootsys')
def configure(cfg): generic._configure(cfg, name, incs=('rrd.h', ), libs=('rrd', ), mandatory=True)
def configure(cfg): generic._configure(cfg, 'libzmq', incs=('zmq.h',), libs=('zmq',), mandatory=True)
def configure(cfg): generic._configure(cfg, 'libzyre', incs=('zyre.h',), libs=('zyre',), pcname='libzyre', uses = 'LIBCZMQ', mandatory=True)