-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18509 from boegel/20230809074148_new_pr_Clang1606
{compiler,tools}[GCCcore/12.3.0] Clang v16.0.6, Z3 v4.12.2
- Loading branch information
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
easybuild/easyconfigs/c/Clang/Clang-16.0.6-GCCcore-12.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
## | ||
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild | ||
# | ||
# Copyright:: Copyright 2013-2015 Dmitri Gribenko, Ward Poelmans | ||
# Authors:: Dmitri Gribenko <gribozavr@gmail.com> | ||
# Authors:: Ward Poelmans <wpoely86@gmail.com> | ||
# License:: GPLv2 or later, MIT, three-clause BSD. | ||
# $Id$ | ||
## | ||
|
||
name = 'Clang' | ||
version = '16.0.6' | ||
|
||
homepage = 'https://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': '12.3.0'} | ||
|
||
source_urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s"] | ||
sources = [ | ||
'llvm-project-%(version)s.src.tar.xz', | ||
] | ||
checksums = ['ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e'] | ||
|
||
builddependencies = [ | ||
('CMake', '3.26.3'), | ||
('Perl', '5.36.1'), | ||
# Including Python bindings would require this as a runtime dep | ||
('Python', '3.11.3'), | ||
] | ||
dependencies = [ | ||
# since Clang is a compiler, binutils is a runtime dependency too | ||
('binutils', '2.40'), | ||
('hwloc', '2.9.1'), | ||
('libxml2', '2.11.4'), | ||
('ncurses', '6.4'), | ||
('GMP', '6.2.1'), | ||
('Z3', '4.12.2'), | ||
] | ||
|
||
# enabling RTTI makes the flang compiler need to link to libc++ so instead of | ||
# flang-new -flang-experimental-exec -fopenmp hello_openmp.f90 | ||
# you would need | ||
# flang-new -flang-experimental-exec -fopenmp hello_openmp.f90 -l c++ | ||
enable_rtti = False | ||
|
||
assertions = True | ||
python_bindings = False | ||
skip_all_tests = True | ||
|
||
llvm_runtimes = ['libunwind', 'libcxx', 'libcxxabi'] | ||
llvm_projects = ['polly', 'lld', 'lldb', 'clang-tools-extra', 'flang'] | ||
|
||
moduleclass = 'compiler' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'Z3' | ||
version = '4.12.2' | ||
|
||
homepage = 'https://github.com/Z3Prover/z3' | ||
description = """ | ||
Z3 is a theorem prover from Microsoft Research. | ||
""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.3.0'} | ||
|
||
source_urls = ['https://github.com/Z3Prover/z3/archive/'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
checksums = [ | ||
{'z3-4.12.2.tar.gz': '9f58f3710bd2094085951a75791550f547903d75fe7e2fcb373c5f03fc761b8f'}, | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.26.3'), | ||
('binutils', '2.40'), | ||
] | ||
|
||
dependencies = [ | ||
('GMP', '6.2.1'), | ||
] | ||
|
||
configopts = '-DZ3_USE_LIB_GMP=ON -DZ3_LINK_TIME_OPTIMIZATION=ON ' | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/z3', 'include/z3_api.h', 'lib/libz3.%s' % SHLIB_EXT], | ||
'dirs': [], | ||
} | ||
|
||
moduleclass = 'tools' |