Lines Matching full:llvm_config
75 llvm_config = os.path.join(llvm_dir, 'include/llvm/Config/llvm-config.h')
76 if not os.path.exists(llvm_config):
77 print('scons: could not find %s' % llvm_config)
84 for line in open(llvm_config, 'rt'):
95 print('scons: could not determine the LLVM version from %s' % llvm_config)
232 llvm_config = os.environ.get('LLVM_CONFIG', 'llvm-config')
233 if not env.Detect(llvm_config):
234 print('scons: %s script not found' % llvm_config)
237 llvm_version = env.backtick('%s --version' % llvm_config).rstrip()
247 cppflags = env.ParseFlags('!%s --cppflags' % llvm_config)
255 cxxflags = env.backtick('%s --cxxflags' % llvm_config).split()
261 env.ParseConfig('%s --libs ' % llvm_config + ' '.join(components))
262 env.ParseConfig('%s --ldflags' % llvm_config)
264 env.ParseConfig('%s --system-libs' % llvm_config)