## # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild # # Copyright:: Copyright 2013-2015 Dmitri Gribenko, Ward Poelmans # Authors:: Dmitri Gribenko # Authors:: Ward Poelmans # License:: GPLv2 or later, MIT, three-clause BSD. # $Id$ ## name = "Clang" version = "3.8.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 = {'name': 'GCC', 'version': '7.2.0-2.29'} # Do not set optarch to True: it will cause the build to fail toolchainopts = {'optarch': False} source_urls = ["http://llvm.org/release/%(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', '', True), ] builddependencies = [ ('CMake', '3.9.1', '', True), ('Python', '2.7.13', '', True), ('libxml2', '2.9.4', '', True), ] assertions = True usepolly = True build_targets = ['X86'] moduleclass = 'compiler'