Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{compiler}[SYSTEM,GCCcore/13.3.0] LLVM core #20902

Open
wants to merge 33 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
17f725d
Added EC for bootstrapped build of all LLVM components
Crivella Jun 12, 2024
799aeef
Added EC for 18.1.7 for system toolchain with working openmp installa…
Crivella Jun 21, 2024
4caab66
Working bootstrapped builds witt/wo full_llvm
Crivella Jun 25, 2024
442e879
Testeed more configuration and enabled tests
Crivella Jul 4, 2024
720859d
Cleanup comments
Crivella Jul 8, 2024
5c9643e
Fix for python bindings
Crivella Jul 10, 2024
80886cf
Added Z3 to non full version
Crivella Jul 11, 2024
920517b
Merge branch 'develop' into feature-LLVM_unified
Crivella Jul 17, 2024
e160473
Rename and modify new 18.1.8
Crivella Jul 18, 2024
a21eefa
Added new 18.1.8 gcc and full ECs
Crivella Jul 18, 2024
a74a524
Modified >=14 to work with new EB
Crivella Jul 18, 2024
eafac8d
Adjust checksums and made changes up to 11.1.0
Crivella Jul 18, 2024
e7a4e4b
Added lit 18.1.8
Crivella Jul 18, 2024
24ca95c
Removed LLVMcore files
Crivella Jul 18, 2024
a189d2a
Update easybuild/easyconfigs/l/LLVM/LLVM-18.1.8.eb
Crivella Jul 18, 2024
63155a3
Wrong rename
Crivella Jul 19, 2024
82581ae
Fixed version numbers
Crivella Jul 19, 2024
011d7d5
Fixed wrong build options
Crivella Jul 25, 2024
9ba2c71
Fixed number of allowed test failures
Crivella Jul 25, 2024
6d35631
Fixed missing/wrong dep
Crivella Aug 13, 2024
262f0eb
Fix: should not be using python bare for 10.3.0
Crivella Aug 14, 2024
b67e34b
System binutils will most likely get overwritten by one of the follow…
Crivella Aug 29, 2024
f2124b1
Merge branch 'develop' into feature-LLVM_unified
Crivella Sep 3, 2024
09a5bcf
Test patch for non system libatomic
Crivella Sep 25, 2024
68e685c
Added test timeouts
Crivella Sep 30, 2024
374d4b3
Added patch
Crivella Oct 7, 2024
79f4cf2
Added `pexpect`
Crivella Oct 10, 2024
73027e2
Added patch for libomptarget host testing
Crivella Oct 25, 2024
e53cd67
Added test timeouts to 18.1.8_full
Crivella Oct 28, 2024
d1437f6
Reduced max number of errors
Crivella Oct 28, 2024
fc10f96
Added missing `pic`
Crivella Nov 11, 2024
29210c6
Splitting off `18.1.8` new builds from main PR
Crivella Nov 12, 2024
91dc233
Split patch files
Crivella Nov 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions easybuild/easyconfigs/l/LLVM/LLVM-11.1.0-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,42 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
to use LLVM as an optimizer and code generator."""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}
toolchainopts = {'cstd': 'gnu++11'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources = ['llvm-%(version)s.src.tar.xz']
checksums = ['ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5']
sources = ['llvm-project-%(version)s.src.tar.xz']
checksums = ['74d2529159fd118c3eac6f90107b5611bccc6f647fdea104024183e8d5e25831']

builddependencies = [
('binutils', '2.36.1'),
('CMake', '3.20.1'),
('Python', '3.9.5', '-bare'),
('lit', '18.1.7'),
('git', '2.32.0', '-nodocs'),
]

dependencies = [
('ncurses', '6.2'),
('zlib', '1.2.11'),
]

build_shared_libs = True
minimal = True

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
bootstrap = False
full_llvm = False
build_clang_extras = False
build_runtimes = False
build_lld = False
build_lldb = False
build_bolt = False
build_openmp = False
build_openmp_tools = False
usepolly = False

sanity_check_commands = ["llvm-ar --help"]
python_bindings = False

skip_all_tests = False
skip_sanitizer_tests = False
test_suite_max_failed = 0

moduleclass = 'compiler'
30 changes: 21 additions & 9 deletions easybuild/easyconfigs/l/LLVM/LLVM-12.0.1-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,42 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
to use LLVM as an optimizer and code generator."""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}
toolchainopts = {'cstd': 'gnu++11'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources = ['llvm-%(version)s.src.tar.xz']
checksums = ['7d9a8405f557cefc5a21bf5672af73903b64749d9bc3a50322239f56f34ffddf']
sources = ['llvm-project-%(version)s.src.tar.xz']
checksums = ['129cb25cd13677aad951ce5c2deb0fe4afc1e9d98950f53b51bdcfb5a73afa0e']

builddependencies = [
('binutils', '2.36.1'),
('CMake', '3.20.1'),
('Python', '3.9.5', '-bare'),
('lit', '18.1.7'),
('git', '2.32.0', '-nodocs'),
]

dependencies = [
('ncurses', '6.2'),
('zlib', '1.2.11'),
]

build_shared_libs = True
minimal = True

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
bootstrap = False
full_llvm = False
build_clang_extras = False
build_runtimes = False
build_lld = False
build_lldb = False
build_bolt = False
build_openmp = False
build_openmp_tools = False
usepolly = False

sanity_check_commands = ["llvm-ar --help"]
python_bindings = False

skip_all_tests = False
skip_sanitizer_tests = False
test_suite_max_failed = 0

moduleclass = 'compiler'
30 changes: 22 additions & 8 deletions easybuild/easyconfigs/l/LLVM/LLVM-12.0.1-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
to use LLVM as an optimizer and code generator."""

toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
toolchainopts = {'cstd': 'gnu++11'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources = ['llvm-%(version)s.src.tar.xz']
checksums = ['7d9a8405f557cefc5a21bf5672af73903b64749d9bc3a50322239f56f34ffddf']
sources = ['llvm-project-%(version)s.src.tar.xz']
checksums = ['129cb25cd13677aad951ce5c2deb0fe4afc1e9d98950f53b51bdcfb5a73afa0e']

builddependencies = [
('binutils', '2.37'),
('CMake', '3.21.1'),
('Python', '3.9.6'),
('lit', '18.1.7'),
('git', '2.33.1', '-nodocs'),
]

dependencies = [
Expand All @@ -30,11 +32,23 @@ dependencies = [

build_shared_libs = True

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
minimal = True

sanity_check_commands = ["llvm-ar --help"]
bootstrap = False
full_llvm = False
build_clang_extras = False
build_runtimes = False
build_lld = False
build_lldb = False
build_bolt = False
build_openmp = False
build_openmp_tools = False
usepolly = False

python_bindings = False

skip_all_tests = False
skip_sanitizer_tests = False
test_suite_max_failed = 0

moduleclass = 'compiler'
30 changes: 23 additions & 7 deletions easybuild/easyconfigs/l/LLVM/LLVM-14.0.3-GCCcore-11.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources = ['llvm-%(version)s.src.tar.xz']
checksums = ['1e09e8c26e1b67bc94a128b62e9b9c24b70c697a2436a479c9e5eedc4ae29654']
sources = [
'llvm-project-%(version)s.src.tar.xz'
]
checksums = ['44d3e7a784d5cf805e72853bb03f218bd1058d448c03ca883dabbebc99204e0c']

builddependencies = [
('binutils', '2.38'),
('CMake', '3.23.1'),
('Python', '3.10.4'),
('lit', '18.1.7'),
('git', '2.36.0', '-nodocs'),
]

dependencies = [
Expand All @@ -30,11 +34,23 @@ dependencies = [

build_shared_libs = True

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
minimal = True

bootstrap = False
full_llvm = False
build_clang_extras = False
build_runtimes = False
build_lld = False
build_lldb = False
build_bolt = False
build_openmp = False
build_openmp_tools = False
usepolly = False

python_bindings = False

sanity_check_commands = ["llvm-ar --help"]
skip_all_tests = False
skip_sanitizer_tests = False
test_suite_max_failed = 0

moduleclass = 'compiler'
37 changes: 24 additions & 13 deletions easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-12.2.0-llvmlite.eb
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,49 @@ toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources = ['llvm-%(version)s.src.tar.xz']

# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
# renamed to follow EasyBuild conventions.
sources = ['llvm-project-%(version)s.src.tar.xz']
patches = [
'LLVM-14.0.6-clear-gotoffsetmap.patch',
'LLVM-14.0.6-svml.patch',
]
checksums = [
{'llvm-14.0.6.src.tar.xz': '050922ecaaca5781fdf6631ea92bc715183f202f9d2f15147226f023414f619a'},
{'LLVM-14.0.6-clear-gotoffsetmap.patch': '690c96dcbd0a81e11d87f02e740c4ef34a0c578be741aaa6559cc00a5349fabf'},
{'LLVM-14.0.6-svml.patch': '59df18ea4af3479de42ecbc1c524d4106f4a55f23335a64c0f0d5433daaba1b7'},
{'llvm-project-14.0.6.src.tar.xz': '8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a'},
{'LLVM-14.0.6-clear-gotoffsetmap.patch': 'c048afdddcf54c7213018d06f709f61274af5b90b8dcd97a632be4fe53750a51'},
{'LLVM-14.0.6-svml.patch': '5776de38e7b663fe9d3ae0a218e380dd59186c565ae277cb7e50785b253640c0'},
]

# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
# renamed to follow EasyBuild conventions.
builddependencies = [
('binutils', '2.39'),
('CMake', '3.24.3'),
('Python', '3.10.8'),
('lit', '18.1.2'),
]

dependencies = [
('ncurses', '6.3'),
('zlib', '1.2.12'),
]

build_shared_libs = True

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
minimal = True

bootstrap = False
full_llvm = False
build_clang_extras = False
build_runtimes = False
build_lld = False
build_lldb = False
build_bolt = False
build_openmp = False
build_openmp_tools = False
usepolly = False

python_bindings = False

sanity_check_commands = ["llvm-ar --help"]
skip_all_tests = False
skip_sanitizer_tests = False
test_suite_max_failed = 0

moduleclass = 'compiler'
37 changes: 25 additions & 12 deletions easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-12.3.0-llvmlite.eb
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,25 @@ toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources = ['llvm-%(version)s.src.tar.xz']

# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
# renamed to follow EasyBuild conventions.
sources = ['llvm-project-%(version)s.src.tar.xz']
patches = [
'LLVM-14.0.6-clear-gotoffsetmap.patch',
'LLVM-14.0.6-svml.patch',
]
checksums = [
{'llvm-14.0.6.src.tar.xz': '050922ecaaca5781fdf6631ea92bc715183f202f9d2f15147226f023414f619a'},
{'LLVM-14.0.6-clear-gotoffsetmap.patch': '690c96dcbd0a81e11d87f02e740c4ef34a0c578be741aaa6559cc00a5349fabf'},
{'LLVM-14.0.6-svml.patch': '59df18ea4af3479de42ecbc1c524d4106f4a55f23335a64c0f0d5433daaba1b7'},
{'llvm-project-14.0.6.src.tar.xz': '8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a'},
{'LLVM-14.0.6-clear-gotoffsetmap.patch': 'c048afdddcf54c7213018d06f709f61274af5b90b8dcd97a632be4fe53750a51'},
{'LLVM-14.0.6-svml.patch': '5776de38e7b663fe9d3ae0a218e380dd59186c565ae277cb7e50785b253640c0'},
]

# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
# renamed to follow EasyBuild conventions.
builddependencies = [
('binutils', '2.40'),
('CMake', '3.26.3'),
('Python', '3.11.3'),
('lit', '18.1.2'),
('git', '2.41.0', '-nodocs'),
]

dependencies = [
Expand All @@ -44,11 +45,23 @@ dependencies = [

build_shared_libs = True

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
minimal = True

bootstrap = False
full_llvm = False
build_clang_extras = False
build_runtimes = False
build_lld = False
build_lldb = False
build_bolt = False
build_openmp = False
build_openmp_tools = False
usepolly = False

python_bindings = False

sanity_check_commands = ["llvm-ar --help"]
skip_all_tests = False
skip_sanitizer_tests = False
test_suite_max_failed = 0

moduleclass = 'compiler'
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ https://github.com/llvm/llvm-project/issues/61402.

diff --git a/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index f92618afdff6..eb3c27a9406a 100644
--- a/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -2345,6 +2345,7 @@ Error RuntimeDyldELF::finalizeLoad(const ObjectFile &Obj,
}
}
Expand Down
Loading
Loading