# IT4Innovations 2019 name = 'Clang' version = '7.0.1' 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 = SYSTEM # Do not set optarch to True: it will cause the build to fail toolchainopts = {'optarch': False} 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', ] dependencies = [ ('GMP', '6.1.2'), ] builddependencies = [ ('CMake', '3.13.1'), ('Py', '2.7'), ('libxml2', '2.9.4'), ] assertions = True usepolly = True skip_all_tests = True moduleclass = 'compiler'