Lines Matching full:llvm_version
81 llvm_version = None
92 … llvm_version = distutils.version.LooseVersion('%s.%s' % (llvm_version_major, llvm_version_minor))
94 if llvm_version is None:
97 if llvm_version < distutils.version.LooseVersion(required_llvm_version):
98 … print('scons: LLVM version %s found, but %s is required' % (llvm_version, required_llvm_version))
107 if llvm_version >= distutils.version.LooseVersion('5.0'):
126 elif llvm_version >= distutils.version.LooseVersion('4.0'):
144 elif llvm_version >= distutils.version.LooseVersion('3.9'):
161 elif llvm_version >= distutils.version.LooseVersion('3.7'):
173 elif llvm_version >= distutils.version.LooseVersion('3.6'):
185 elif llvm_version >= distutils.version.LooseVersion('3.5'):
237 llvm_version = env.backtick('%s --version' % llvm_config).rstrip()
238 llvm_version = distutils.version.LooseVersion(llvm_version)
240 if llvm_version < distutils.version.LooseVersion(required_llvm_version):
241 … print('scons: LLVM version %s found, but %s is required' % (llvm_version, required_llvm_version))
263 if llvm_version >= distutils.version.LooseVersion('3.5'):
267 print('scons: llvm-config version %s failed' % llvm_version)
270 assert llvm_version is not None
273 print('scons: Found LLVM version %s' % llvm_version)
274 env['LLVM_VERSION'] = llvm_version
277 llvm_version_major = int(llvm_version.version[0])
278 llvm_version_minor = int(llvm_version.version[1])