diff --git a/easybuild/easyconfigs/c/Clang/Clang-8.0.0-GCCcore-8.3.0.eb b/easybuild/easyconfigs/c/Clang/Clang-8.0.0-GCCcore-8.3.0.eb new file mode 100755 index 000000000000..06317854e02e --- /dev/null +++ b/easybuild/easyconfigs/c/Clang/Clang-8.0.0-GCCcore-8.3.0.eb @@ -0,0 +1,57 @@ +name = 'Clang' +version = '8.0.0' + +homepage = 'http://clang.llvm.org/' +description = """C, C++, Objective-C 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': 'GCCcore', 'version': '8.3.0'} +# 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', + 'compiler-rt-%(version)s.src.tar.xz', + 'polly-%(version)s.src.tar.xz', + 'openmp-%(version)s.src.tar.xz', + # Also include the LLVM linker + 'lld-%(version)s.src.tar.xz', + 'libcxx-%(version)s.src.tar.xz', + 'libcxxabi-%(version)s.src.tar.xz', +] +checksums = [ + '8872be1b12c61450cacc82b3d153eab02be2546ef34fa3580ed14137bb26224c', # llvm-8.0.0.src.tar.xz + '084c115aab0084e63b23eee8c233abb6739c399e29966eaeccfc6e088e0b736b', # cfe-8.0.0.src.tar.xz + 'b435c7474f459e71b2831f1a4e3f1d21203cb9c0172e94e9d9b69f50354f21b1', # compiler-rt-8.0.0.src.tar.xz + 'e3f5a3d6794ef8233af302c45ceb464b74cdc369c1ac735b6b381b21e4d89df4', # polly-8.0.0.src.tar.xz + 'f7b1705d2f16c4fc23d6531f67d2dd6fb78a077dd346b02fed64f4b8df65c9d5', # openmp-8.0.0.src.tar.xz + '9caec8ec922e32ffa130f0fb08e4c5a242d7e68ce757631e425e9eba2e1a6e37', # lld-8.0.0.src.tar.xz + 'c2902675e7c84324fb2c1e45489220f250ede016cc3117186785d9dc291f9de2', # libcxx-8.0.0.src.tar.xz + 'c2d6de9629f7c072ac20ada776374e9e3168142f20a46cdb9d6df973922b07cd', # libcxxabi-8.0.0.src.tar.xz +] + +dependencies = [ + # since Clang is a compiler, binutils is a runtime dependency too + ('binutils', '2.31.1'), + ('GMP', '6.1.2'), +] + +builddependencies = [ + ('CMake', '3.13.4'), + ('Python', '2.7.16'), + ('libxml2', '2.9.8'), +] + +assertions = True +usepolly = True +build_lld = True +libcxx = True +enable_rtti = True + +skip_all_tests = True + +moduleclass = 'compiler' diff --git a/easybuild/easyconfigs/g/GSL/GSL-2.5-GCCcore-8.3.0.eb b/easybuild/easyconfigs/g/GSL/GSL-2.5-GCCcore-8.3.0.eb new file mode 100755 index 000000000000..1a795d735bf7 --- /dev/null +++ b/easybuild/easyconfigs/g/GSL/GSL-2.5-GCCcore-8.3.0.eb @@ -0,0 +1,25 @@ +easyblock = 'ConfigureMake' + +name = 'GSL' +version = '2.5' + +homepage = 'http://www.gnu.org/software/gsl/' +description = """The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. + The library provides a wide range of mathematical routines such as random number generators, special functions + and least-squares fitting.""" + +toolchain = {'name': 'GCCcore', 'version': '8.3.0'} +toolchainopts = {'unroll': True, 'pic': True} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d'] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in ['gsl-config', 'gsl-histogram', 'gsl-randist']] + + ['include/gsl/gsl_types.h'] + + ['lib/lib%s.%s' % (x, SHLIB_EXT) for x in ['gsl', 'gslcblas']], + 'dirs': [], +} + +moduleclass = 'numlib'