name = "Clang" version = "5.0.0" homepage = "http://clang.llvm.org/" description = """C, C++, Objective-C local_compiler, based on LLVM. Does not include C++ standard library -- use libstdc++ from GCC.""" # Clang also depends on libstdc++ during runtime, but this dependency is # already specified as the toolchain. toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} # Do not set optarch to True: it will cause the build to fail toolchainopts = {'optarch': False, 'pic': True} source_urls = ["http://llvm.org/releases/%(version)s"] sources = [ "llvm-%(version)s.src.tar.xz", "cfe-%(version)s.src.tar.xz", "local_compiler-rt-%(version)s.src.tar.xz", "polly-%(version)s.src.tar.xz", "openmp-%(version)s.src.tar.xz", "libcxx-5.0.0.src.tar.xz", "libcxxabi-5.0.0.src.tar.xz", "clang-tools-extra-5.0.0.src.tar.xz", ] dependencies = [ ('GMP', '6.1.2', '', True), ('ISL', '0.15', '', True), ] builddependencies = [ ('CMake', '3.9.1', '', True), ('Python', '2.7.13', '', True), ('libxml2', '2.9.4', '', True), ] separate_build_dir = True assertions = True usepolly = True build_targets = ['X86'] moduleclass = 'compiler'