Skip to content

Conversation

@Crivella
Copy link
Contributor

@Crivella Crivella commented Oct 10, 2024

Adds EC for LLVM:

  • 19.1.1 SYSTEM
  • 19.1.1 GCCcore-13.3.0

Depends on:

WIP:

  • Pin correct number of errors that have been reduced from 18.1.8
    • Need to fix libomptarget false error due to missing -fopenmp in test-suite

@Crivella
Copy link
Contributor Author

Probelm with having system libffi:

  • If the system compiler is too old it can lead to errors of the type

    ld.lld: error: relocation R_X86_64_32S cannot be used against symbol 'ffi_closure_win64'; recompile with -fPIC
    >>> defined in /home/dgrassano/.local/easybuild/software/libffi/3.4.5/lib64/libffi.a(win64.o)
    >>> referenced by ffiw64.c
    >>>               ffiw64.o:(ffi_prep_closure_loc_efi64) in archive /home/dgrassano/.local/easybuild/software/libffi/3.4.5/lib64/libffi.a
    

    even if the library is compiled with -fPIC

Anyway the library as compiled with GCC does not have any GCC deps and is statically linked so it should not be a problem.

@boegel
Copy link
Member

boegel commented Mar 4, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_BRANCH=5.0.x
EB_ARGS="--installpath /tmp/$USER/pr21611 --include-easyblocks-from-pr 3373"

@boegel boegel changed the base branch from develop to 5.0.x March 4, 2025 22:02
@easybuilders easybuilders deleted a comment from boegelbot Mar 4, 2025
@easybuilders easybuilders deleted a comment from boegelbot Mar 4, 2025
@boegelbot
Copy link
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ "5.0.x" != 'develop' ]]; then EB_BRANCH="5.0.x" ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/"5.0.x" source init_env_easybuild_develop.sh; fi; EB_PR=21611 EB_ARGS="--installpath /tmp/$USER/pr21611 --include-easyblocks-from-pr 3373" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH="5.0.x" /opt/software/slurm/bin/sbatch --job-name test_PR_21611 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 5862

Test results coming soon (I hope)...

- notification for comment with ID 2699045183 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#3373
FAILED
Failed during parsing of the easyconfigs, so no ecs were built (4 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/876a826dbba7542ee6603ff10317be55 for a full test report.

@boegel
Copy link
Member

boegel commented Mar 5, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_BRANCH=5.0.x
EB_ARGS="--installpath /tmp/$USER/pr21833 --include-easyblocks-from-pr 3373"

@github-actions github-actions bot added the update label Mar 5, 2025
@github-actions
Copy link

github-actions bot commented Mar 5, 2025

Updated software LLVM-19.1.1-GCCcore-13.3.0-minimal.eb

Diff against LLVM-19.1.1.eb

easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
index d8ad56389f..9f9814c799 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
@@ -1,6 +1,6 @@
 name = 'LLVM'
 version = '19.1.1'
-
+versionsuffix = '-minimal'
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -11,7 +11,7 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  particularly easy to invent your own language (or port an existing compiler)
  to use LLVM as an optimizer and code generator."""
 
-toolchain = SYSTEM
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
 sources = [
@@ -19,52 +19,44 @@ sources = [
 ]
 patches = [
     'LLVM-18.1.8_envintest.patch',
-    'LLVM-19.1.1_libomptarget_tests.patch',
-    'LLVM-19.1.1_envintest_lldb.patch',
-    'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
     {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
     {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
-    {'LLVM-19.1.1_libomptarget_tests.patch': 'a6cc11a2fb79e087d6c58fa5c01e5d6c95c952453ba8c1a09a0d4d3e6d109bd2'},
-    {'LLVM-19.1.1_envintest_lldb.patch': 'fbaa2494765637996f212f2fd9073b6bd775c0938a5a87fb70e19feb183c3299'},
-    {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
-local_gcc_version = '13.3.0'
-local_gcc_compiler = ('GCCcore', local_gcc_version)
-
 builddependencies = [
-    ('GCCcore', local_gcc_version, '', SYSTEM),
-    # ('binutils', '2.42', '', SYSTEM),
-    ('CMake', '3.29.3', '', local_gcc_compiler),
-    ('psutil', '6.0.0', '', local_gcc_compiler),  # Needed to enable test timeout in lit
-    ('Python', '3.12.3', '', local_gcc_compiler),
-    ('lit', '18.1.8', '', local_gcc_compiler),
-    ('git', '2.45.1', '', local_gcc_compiler),
+    ('binutils', '2.42'),
+    ('Python', '3.12.3'),
+    ('CMake', '3.29.3'),
+    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
+    ('lit', '18.1.8'),
+    ('git', '2.45.1'),
 ]
 
 dependencies = [
-    ('ncurses', '6.5', '', SYSTEM),
-    ('zlib', '1.3.1', '', SYSTEM),
+    ('libxml2', '2.12.7'),
+    ('ncurses', '6.5'),
+    ('zlib', '1.3.1'),
+    ('Z3', '4.13.0'),
 ]
 
 build_shared_libs = True
 
-bootstrap = True
-full_llvm = True
-build_clang_extras = True
-build_runtimes = True
-build_lld = True
-build_lldb = True
-build_bolt = True
-build_openmp = True
-build_openmp_offload = True
-build_openmp_tools = True
-usepolly = True
+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_offload = False
+build_openmp_tools = False
+usepolly = False
 
-# Need to reconcile full_llvm and python_bindings as loading python will cause a conflict between system
-# ncurses/zlib and the GCC ones
 python_bindings = False
 
 # build_targets = ['all']
@@ -72,7 +64,8 @@ python_bindings = False
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 30  # Could increase depending of number of targets compiled for
+test_suite_max_failed = 0
 test_suite_timeout_single = 5 * 60
+# test_suite_timeout_total = 10*3600
 
 moduleclass = 'compiler'
Diff against LLVM-19.1.1-GCCcore-13.3.0.eb

easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
index f0befb8bfe..9f9814c799 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
@@ -1,5 +1,6 @@
 name = 'LLVM'
 version = '19.1.1'
+versionsuffix = '-minimal'
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -11,9 +12,6 @@ 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': '13.3.0'}
-toolchainopts = {
-    'pic': True,
-}
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
 sources = [
@@ -21,22 +19,15 @@ sources = [
 ]
 patches = [
     'LLVM-18.1.8_envintest.patch',
-    'LLVM-19.1.1_libomptarget_tests.patch',
-    'LLVM-19.1.1_envintest_lldb.patch',
-    'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
     {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
     {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
-    {'LLVM-19.1.1_libomptarget_tests.patch': 'a6cc11a2fb79e087d6c58fa5c01e5d6c95c952453ba8c1a09a0d4d3e6d109bd2'},
-    {'LLVM-19.1.1_envintest_lldb.patch': 'fbaa2494765637996f212f2fd9073b6bd775c0938a5a87fb70e19feb183c3299'},
-    {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
 builddependencies = [
     ('binutils', '2.42'),
     ('Python', '3.12.3'),
-    ('SWIG', '4.2.1'),
     ('CMake', '3.29.3'),
     ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
     ('lit', '18.1.8'),
@@ -52,28 +43,28 @@ dependencies = [
 
 build_shared_libs = True
 
-minimal = False
+minimal = True
 
-bootstrap = True
+bootstrap = False
 full_llvm = False
-build_clang_extras = True
-build_runtimes = True
-build_lld = True
-build_lldb = True
-build_bolt = True
-build_openmp = True
-build_openmp_offload = True
-build_openmp_tools = True
-usepolly = True
+build_clang_extras = False
+build_runtimes = False
+build_lld = False
+build_lldb = False
+build_bolt = False
+build_openmp = False
+build_openmp_offload = False
+build_openmp_tools = False
+usepolly = False
 
-python_bindings = True
+python_bindings = False
 
 # build_targets = ['all']
 # disable_werror = True
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 150  # Could increase depending of number of targets compiled for
+test_suite_max_failed = 0
 test_suite_timeout_single = 5 * 60
 # test_suite_timeout_total = 10*3600
 
Diff against LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
index 093c727cec..9f9814c799 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
@@ -1,6 +1,6 @@
 name = 'LLVM'
-version = '14.0.6'
-versionsuffix = '-llvmlite'
+version = '19.1.1'
+versionsuffix = '-minimal'
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -9,41 +9,36 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  specified code representation known as the LLVM intermediate representation
  ("LLVM IR"). The LLVM Core libraries are well documented, and it is
  particularly easy to invent your own language (or port an existing compiler)
- to use LLVM as an optimizer and code generator.
-
- This version include patches for llvmlite / numba."""
+ to use LLVM as an optimizer and code generator."""
 
 toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
-toolchainopts = {'cstd': 'gnu11', 'pic': True}
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
-sources = ['llvm-project-%(version)s.src.tar.xz']
+sources = [
+    'llvm-project-%(version)s.src.tar.xz',
+]
 patches = [
-    'LLVM-14.0.6-clear-gotoffsetmap.patch',
-    'LLVM-14.0.6-svml.patch',
-    'LLVM-14.0.x_fix-print-changed-dot-cfg-test.patch',
+    'LLVM-18.1.8_envintest.patch',
 ]
 checksums = [
-    {'llvm-project-14.0.6.src.tar.xz': '8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a'},
-    {'LLVM-14.0.6-clear-gotoffsetmap.patch': 'c048afdddcf54c7213018d06f709f61274af5b90b8dcd97a632be4fe53750a51'},
-    {'LLVM-14.0.6-svml.patch': '5776de38e7b663fe9d3ae0a218e380dd59186c565ae277cb7e50785b253640c0'},
-    {'LLVM-14.0.x_fix-print-changed-dot-cfg-test.patch':
-     'd21abda1ecc5d15f1734d529a1332eea2c5f429281fb62969b9ee88acf3516f3'},
+    {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
+    {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
 ]
 
-# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
-# renamed to follow EasyBuild conventions.
 builddependencies = [
     ('binutils', '2.42'),
-    ('CMake', '3.29.3'),
     ('Python', '3.12.3'),
+    ('CMake', '3.29.3'),
+    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
     ('lit', '18.1.8'),
     ('git', '2.45.1'),
 ]
 
 dependencies = [
+    ('libxml2', '2.12.7'),
     ('ncurses', '6.5'),
     ('zlib', '1.3.1'),
+    ('Z3', '4.13.0'),
 ]
 
 build_shared_libs = True
@@ -64,8 +59,13 @@ usepolly = False
 
 python_bindings = False
 
+# build_targets = ['all']
+# disable_werror = True
+
 skip_all_tests = False
 skip_sanitizer_tests = False
 test_suite_max_failed = 0
+test_suite_timeout_single = 5 * 60
+# test_suite_timeout_total = 10*3600
 
 moduleclass = 'compiler'

Updated software LLVM-19.1.1-GCCcore-13.3.0.eb

Diff against LLVM-19.1.1-GCCcore-13.3.0-minimal.eb

easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
index 9f9814c799..f0befb8bfe 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
@@ -1,6 +1,5 @@
 name = 'LLVM'
 version = '19.1.1'
-versionsuffix = '-minimal'
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -12,6 +11,9 @@ 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': '13.3.0'}
+toolchainopts = {
+    'pic': True,
+}
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
 sources = [
@@ -19,15 +21,22 @@ sources = [
 ]
 patches = [
     'LLVM-18.1.8_envintest.patch',
+    'LLVM-19.1.1_libomptarget_tests.patch',
+    'LLVM-19.1.1_envintest_lldb.patch',
+    'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
     {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
     {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
+    {'LLVM-19.1.1_libomptarget_tests.patch': 'a6cc11a2fb79e087d6c58fa5c01e5d6c95c952453ba8c1a09a0d4d3e6d109bd2'},
+    {'LLVM-19.1.1_envintest_lldb.patch': 'fbaa2494765637996f212f2fd9073b6bd775c0938a5a87fb70e19feb183c3299'},
+    {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
 builddependencies = [
     ('binutils', '2.42'),
     ('Python', '3.12.3'),
+    ('SWIG', '4.2.1'),
     ('CMake', '3.29.3'),
     ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
     ('lit', '18.1.8'),
@@ -43,28 +52,28 @@ dependencies = [
 
 build_shared_libs = True
 
-minimal = True
+minimal = False
 
-bootstrap = False
+bootstrap = True
 full_llvm = False
-build_clang_extras = False
-build_runtimes = False
-build_lld = False
-build_lldb = False
-build_bolt = False
-build_openmp = False
-build_openmp_offload = False
-build_openmp_tools = False
-usepolly = False
+build_clang_extras = True
+build_runtimes = True
+build_lld = True
+build_lldb = True
+build_bolt = True
+build_openmp = True
+build_openmp_offload = True
+build_openmp_tools = True
+usepolly = True
 
-python_bindings = False
+python_bindings = True
 
 # build_targets = ['all']
 # disable_werror = True
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 0
+test_suite_max_failed = 150  # Could increase depending of number of targets compiled for
 test_suite_timeout_single = 5 * 60
 # test_suite_timeout_total = 10*3600
 
Diff against LLVM-19.1.1.eb

easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
index d8ad56389f..f0befb8bfe 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
@@ -1,7 +1,6 @@
 name = 'LLVM'
 version = '19.1.1'
 
-
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
  optimizer, along with code generation support for many popular CPUs
@@ -11,7 +10,10 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  particularly easy to invent your own language (or port an existing compiler)
  to use LLVM as an optimizer and code generator."""
 
-toolchain = SYSTEM
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
+toolchainopts = {
+    'pic': True,
+}
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
 sources = [
@@ -31,28 +33,29 @@ checksums = [
     {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
-local_gcc_version = '13.3.0'
-local_gcc_compiler = ('GCCcore', local_gcc_version)
-
 builddependencies = [
-    ('GCCcore', local_gcc_version, '', SYSTEM),
-    # ('binutils', '2.42', '', SYSTEM),
-    ('CMake', '3.29.3', '', local_gcc_compiler),
-    ('psutil', '6.0.0', '', local_gcc_compiler),  # Needed to enable test timeout in lit
-    ('Python', '3.12.3', '', local_gcc_compiler),
-    ('lit', '18.1.8', '', local_gcc_compiler),
-    ('git', '2.45.1', '', local_gcc_compiler),
+    ('binutils', '2.42'),
+    ('Python', '3.12.3'),
+    ('SWIG', '4.2.1'),
+    ('CMake', '3.29.3'),
+    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
+    ('lit', '18.1.8'),
+    ('git', '2.45.1'),
 ]
 
 dependencies = [
-    ('ncurses', '6.5', '', SYSTEM),
-    ('zlib', '1.3.1', '', SYSTEM),
+    ('libxml2', '2.12.7'),
+    ('ncurses', '6.5'),
+    ('zlib', '1.3.1'),
+    ('Z3', '4.13.0'),
 ]
 
 build_shared_libs = True
 
+minimal = False
+
 bootstrap = True
-full_llvm = True
+full_llvm = False
 build_clang_extras = True
 build_runtimes = True
 build_lld = True
@@ -63,16 +66,15 @@ build_openmp_offload = True
 build_openmp_tools = True
 usepolly = True
 
-# Need to reconcile full_llvm and python_bindings as loading python will cause a conflict between system
-# ncurses/zlib and the GCC ones
-python_bindings = False
+python_bindings = True
 
 # build_targets = ['all']
 # disable_werror = True
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 30  # Could increase depending of number of targets compiled for
+test_suite_max_failed = 150  # Could increase depending of number of targets compiled for
 test_suite_timeout_single = 5 * 60
+# test_suite_timeout_total = 10*3600
 
 moduleclass = 'compiler'
Diff against LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
index 093c727cec..f0befb8bfe 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
@@ -1,6 +1,5 @@
 name = 'LLVM'
-version = '14.0.6'
-versionsuffix = '-llvmlite'
+version = '19.1.1'
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -9,63 +8,73 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  specified code representation known as the LLVM intermediate representation
  ("LLVM IR"). The LLVM Core libraries are well documented, and it is
  particularly easy to invent your own language (or port an existing compiler)
- to use LLVM as an optimizer and code generator.
-
- This version include patches for llvmlite / numba."""
+ to use LLVM as an optimizer and code generator."""
 
 toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
-toolchainopts = {'cstd': 'gnu11', 'pic': True}
+toolchainopts = {
+    'pic': True,
+}
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
-sources = ['llvm-project-%(version)s.src.tar.xz']
+sources = [
+    'llvm-project-%(version)s.src.tar.xz',
+]
 patches = [
-    'LLVM-14.0.6-clear-gotoffsetmap.patch',
-    'LLVM-14.0.6-svml.patch',
-    'LLVM-14.0.x_fix-print-changed-dot-cfg-test.patch',
+    'LLVM-18.1.8_envintest.patch',
+    'LLVM-19.1.1_libomptarget_tests.patch',
+    'LLVM-19.1.1_envintest_lldb.patch',
+    'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
-    {'llvm-project-14.0.6.src.tar.xz': '8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a'},
-    {'LLVM-14.0.6-clear-gotoffsetmap.patch': 'c048afdddcf54c7213018d06f709f61274af5b90b8dcd97a632be4fe53750a51'},
-    {'LLVM-14.0.6-svml.patch': '5776de38e7b663fe9d3ae0a218e380dd59186c565ae277cb7e50785b253640c0'},
-    {'LLVM-14.0.x_fix-print-changed-dot-cfg-test.patch':
-     'd21abda1ecc5d15f1734d529a1332eea2c5f429281fb62969b9ee88acf3516f3'},
+    {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
+    {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
+    {'LLVM-19.1.1_libomptarget_tests.patch': 'a6cc11a2fb79e087d6c58fa5c01e5d6c95c952453ba8c1a09a0d4d3e6d109bd2'},
+    {'LLVM-19.1.1_envintest_lldb.patch': 'fbaa2494765637996f212f2fd9073b6bd775c0938a5a87fb70e19feb183c3299'},
+    {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
-# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
-# renamed to follow EasyBuild conventions.
 builddependencies = [
     ('binutils', '2.42'),
-    ('CMake', '3.29.3'),
     ('Python', '3.12.3'),
+    ('SWIG', '4.2.1'),
+    ('CMake', '3.29.3'),
+    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
     ('lit', '18.1.8'),
     ('git', '2.45.1'),
 ]
 
 dependencies = [
+    ('libxml2', '2.12.7'),
     ('ncurses', '6.5'),
     ('zlib', '1.3.1'),
+    ('Z3', '4.13.0'),
 ]
 
 build_shared_libs = True
 
-minimal = True
+minimal = False
 
-bootstrap = False
+bootstrap = True
 full_llvm = False
-build_clang_extras = False
-build_runtimes = False
-build_lld = False
-build_lldb = False
-build_bolt = False
-build_openmp = False
-build_openmp_offload = False
-build_openmp_tools = False
-usepolly = False
+build_clang_extras = True
+build_runtimes = True
+build_lld = True
+build_lldb = True
+build_bolt = True
+build_openmp = True
+build_openmp_offload = True
+build_openmp_tools = True
+usepolly = True
+
+python_bindings = True
 
-python_bindings = False
+# build_targets = ['all']
+# disable_werror = True
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 0
+test_suite_max_failed = 150  # Could increase depending of number of targets compiled for
+test_suite_timeout_single = 5 * 60
+# test_suite_timeout_total = 10*3600
 
 moduleclass = 'compiler'

Updated software LLVM-19.1.1.eb

Diff against LLVM-19.1.1-GCCcore-13.3.0-minimal.eb

easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
index 9f9814c799..d8ad56389f 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0-minimal.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
@@ -1,6 +1,6 @@
 name = 'LLVM'
 version = '19.1.1'
-versionsuffix = '-minimal'
+
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -11,7 +11,7 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  particularly easy to invent your own language (or port an existing compiler)
  to use LLVM as an optimizer and code generator."""
 
-toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
+toolchain = SYSTEM
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
 sources = [
@@ -19,44 +19,52 @@ sources = [
 ]
 patches = [
     'LLVM-18.1.8_envintest.patch',
+    'LLVM-19.1.1_libomptarget_tests.patch',
+    'LLVM-19.1.1_envintest_lldb.patch',
+    'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
     {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
     {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
+    {'LLVM-19.1.1_libomptarget_tests.patch': 'a6cc11a2fb79e087d6c58fa5c01e5d6c95c952453ba8c1a09a0d4d3e6d109bd2'},
+    {'LLVM-19.1.1_envintest_lldb.patch': 'fbaa2494765637996f212f2fd9073b6bd775c0938a5a87fb70e19feb183c3299'},
+    {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
+local_gcc_version = '13.3.0'
+local_gcc_compiler = ('GCCcore', local_gcc_version)
+
 builddependencies = [
-    ('binutils', '2.42'),
-    ('Python', '3.12.3'),
-    ('CMake', '3.29.3'),
-    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
-    ('lit', '18.1.8'),
-    ('git', '2.45.1'),
+    ('GCCcore', local_gcc_version, '', SYSTEM),
+    # ('binutils', '2.42', '', SYSTEM),
+    ('CMake', '3.29.3', '', local_gcc_compiler),
+    ('psutil', '6.0.0', '', local_gcc_compiler),  # Needed to enable test timeout in lit
+    ('Python', '3.12.3', '', local_gcc_compiler),
+    ('lit', '18.1.8', '', local_gcc_compiler),
+    ('git', '2.45.1', '', local_gcc_compiler),
 ]
 
 dependencies = [
-    ('libxml2', '2.12.7'),
-    ('ncurses', '6.5'),
-    ('zlib', '1.3.1'),
-    ('Z3', '4.13.0'),
+    ('ncurses', '6.5', '', SYSTEM),
+    ('zlib', '1.3.1', '', SYSTEM),
 ]
 
 build_shared_libs = True
 
-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_offload = False
-build_openmp_tools = False
-usepolly = False
+bootstrap = True
+full_llvm = True
+build_clang_extras = True
+build_runtimes = True
+build_lld = True
+build_lldb = True
+build_bolt = True
+build_openmp = True
+build_openmp_offload = True
+build_openmp_tools = True
+usepolly = True
 
+# Need to reconcile full_llvm and python_bindings as loading python will cause a conflict between system
+# ncurses/zlib and the GCC ones
 python_bindings = False
 
 # build_targets = ['all']
@@ -64,8 +72,7 @@ python_bindings = False
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 0
+test_suite_max_failed = 30  # Could increase depending of number of targets compiled for
 test_suite_timeout_single = 5 * 60
-# test_suite_timeout_total = 10*3600
 
 moduleclass = 'compiler'
Diff against LLVM-19.1.1-GCCcore-13.3.0.eb

easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
index f0befb8bfe..d8ad56389f 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
@@ -1,6 +1,7 @@
 name = 'LLVM'
 version = '19.1.1'
 
+
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
  optimizer, along with code generation support for many popular CPUs
@@ -10,10 +11,7 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  particularly easy to invent your own language (or port an existing compiler)
  to use LLVM as an optimizer and code generator."""
 
-toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
-toolchainopts = {
-    'pic': True,
-}
+toolchain = SYSTEM
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
 sources = [
@@ -33,29 +31,28 @@ checksums = [
     {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
+local_gcc_version = '13.3.0'
+local_gcc_compiler = ('GCCcore', local_gcc_version)
+
 builddependencies = [
-    ('binutils', '2.42'),
-    ('Python', '3.12.3'),
-    ('SWIG', '4.2.1'),
-    ('CMake', '3.29.3'),
-    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
-    ('lit', '18.1.8'),
-    ('git', '2.45.1'),
+    ('GCCcore', local_gcc_version, '', SYSTEM),
+    # ('binutils', '2.42', '', SYSTEM),
+    ('CMake', '3.29.3', '', local_gcc_compiler),
+    ('psutil', '6.0.0', '', local_gcc_compiler),  # Needed to enable test timeout in lit
+    ('Python', '3.12.3', '', local_gcc_compiler),
+    ('lit', '18.1.8', '', local_gcc_compiler),
+    ('git', '2.45.1', '', local_gcc_compiler),
 ]
 
 dependencies = [
-    ('libxml2', '2.12.7'),
-    ('ncurses', '6.5'),
-    ('zlib', '1.3.1'),
-    ('Z3', '4.13.0'),
+    ('ncurses', '6.5', '', SYSTEM),
+    ('zlib', '1.3.1', '', SYSTEM),
 ]
 
 build_shared_libs = True
 
-minimal = False
-
 bootstrap = True
-full_llvm = False
+full_llvm = True
 build_clang_extras = True
 build_runtimes = True
 build_lld = True
@@ -66,15 +63,16 @@ build_openmp_offload = True
 build_openmp_tools = True
 usepolly = True
 
-python_bindings = True
+# Need to reconcile full_llvm and python_bindings as loading python will cause a conflict between system
+# ncurses/zlib and the GCC ones
+python_bindings = False
 
 # build_targets = ['all']
 # disable_werror = True
 
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 150  # Could increase depending of number of targets compiled for
+test_suite_max_failed = 30  # Could increase depending of number of targets compiled for
 test_suite_timeout_single = 5 * 60
-# test_suite_timeout_total = 10*3600
 
 moduleclass = 'compiler'
Diff against LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
index 093c727cec..d8ad56389f 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-19.1.1.eb
@@ -1,6 +1,6 @@
 name = 'LLVM'
-version = '14.0.6'
-versionsuffix = '-llvmlite'
+version = '19.1.1'
+
 
 homepage = "https://llvm.org/"
 description = """The LLVM Core libraries provide a modern source- and target-independent
@@ -9,63 +9,70 @@ description = """The LLVM Core libraries provide a modern source- and target-ind
  specified code representation known as the LLVM intermediate representation
  ("LLVM IR"). The LLVM Core libraries are well documented, and it is
  particularly easy to invent your own language (or port an existing compiler)
- to use LLVM as an optimizer and code generator.
-
- This version include patches for llvmlite / numba."""
+ to use LLVM as an optimizer and code generator."""
 
-toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
-toolchainopts = {'cstd': 'gnu11', 'pic': True}
+toolchain = SYSTEM
 
 source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
-sources = ['llvm-project-%(version)s.src.tar.xz']
+sources = [
+    'llvm-project-%(version)s.src.tar.xz',
+]
 patches = [
-    'LLVM-14.0.6-clear-gotoffsetmap.patch',
-    'LLVM-14.0.6-svml.patch',
-    'LLVM-14.0.x_fix-print-changed-dot-cfg-test.patch',
+    'LLVM-18.1.8_envintest.patch',
+    'LLVM-19.1.1_libomptarget_tests.patch',
+    'LLVM-19.1.1_envintest_lldb.patch',
+    'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
-    {'llvm-project-14.0.6.src.tar.xz': '8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a'},
-    {'LLVM-14.0.6-clear-gotoffsetmap.patch': 'c048afdddcf54c7213018d06f709f61274af5b90b8dcd97a632be4fe53750a51'},
-    {'LLVM-14.0.6-svml.patch': '5776de38e7b663fe9d3ae0a218e380dd59186c565ae277cb7e50785b253640c0'},
-    {'LLVM-14.0.x_fix-print-changed-dot-cfg-test.patch':
-     'd21abda1ecc5d15f1734d529a1332eea2c5f429281fb62969b9ee88acf3516f3'},
+    {'llvm-project-19.1.1.src.tar.xz': 'd40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266'},
+    {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
+    {'LLVM-19.1.1_libomptarget_tests.patch': 'a6cc11a2fb79e087d6c58fa5c01e5d6c95c952453ba8c1a09a0d4d3e6d109bd2'},
+    {'LLVM-19.1.1_envintest_lldb.patch': 'fbaa2494765637996f212f2fd9073b6bd775c0938a5a87fb70e19feb183c3299'},
+    {'LLVM-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
 ]
 
-# Patches from https://github.com/numba/llvmlite/raw/v0.41.1/conda-recipes/ but
-# renamed to follow EasyBuild conventions.
+local_gcc_version = '13.3.0'
+local_gcc_compiler = ('GCCcore', local_gcc_version)
+
 builddependencies = [
-    ('binutils', '2.42'),
-    ('CMake', '3.29.3'),
-    ('Python', '3.12.3'),
-    ('lit', '18.1.8'),
-    ('git', '2.45.1'),
+    ('GCCcore', local_gcc_version, '', SYSTEM),
+    # ('binutils', '2.42', '', SYSTEM),
+    ('CMake', '3.29.3', '', local_gcc_compiler),
+    ('psutil', '6.0.0', '', local_gcc_compiler),  # Needed to enable test timeout in lit
+    ('Python', '3.12.3', '', local_gcc_compiler),
+    ('lit', '18.1.8', '', local_gcc_compiler),
+    ('git', '2.45.1', '', local_gcc_compiler),
 ]
 
 dependencies = [
-    ('ncurses', '6.5'),
-    ('zlib', '1.3.1'),
+    ('ncurses', '6.5', '', SYSTEM),
+    ('zlib', '1.3.1', '', SYSTEM),
 ]
 
 build_shared_libs = True
 
-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_offload = False
-build_openmp_tools = False
-usepolly = False
+bootstrap = True
+full_llvm = True
+build_clang_extras = True
+build_runtimes = True
+build_lld = True
+build_lldb = True
+build_bolt = True
+build_openmp = True
+build_openmp_offload = True
+build_openmp_tools = True
+usepolly = True
 
+# Need to reconcile full_llvm and python_bindings as loading python will cause a conflict between system
+# ncurses/zlib and the GCC ones
 python_bindings = False
 
+# build_targets = ['all']
+# disable_werror = True
+
 skip_all_tests = False
 skip_sanitizer_tests = False
-test_suite_max_failed = 0
+test_suite_max_failed = 30  # Could increase depending of number of targets compiled for
+test_suite_timeout_single = 5 * 60
 
 moduleclass = 'compiler'

@boegelbot
Copy link
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ "5.0.x" != 'develop' ]]; then EB_BRANCH="5.0.x" ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/"5.0.x" source init_env_easybuild_develop.sh; fi; EB_PR=21611 EB_ARGS="--installpath /tmp/$USER/pr21833 --include-easyblocks-from-pr 3373" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH="5.0.x" /opt/software/slurm/bin/sbatch --job-name test_PR_21611 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 5866

Test results coming soon (I hope)...

- notification for comment with ID 2700091334 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#3373
FAILED
Failed during parsing of the easyconfigs, so no ecs were built (4 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/087949bccdf62d8f31737e9ed153f5b4 for a full test report.

@boegel
Copy link
Member

boegel commented Mar 5, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_BRANCH=5.0.x
EB_ARGS="--installpath /tmp/$USER/pr21833 --include-easyblocks-from-pr 3373"

@boegelbot
Copy link
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ "5.0.x" != 'develop' ]]; then EB_BRANCH="5.0.x" ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/"5.0.x" source init_env_easybuild_develop.sh; fi; EB_PR=21611 EB_ARGS="--installpath /tmp/$USER/pr21833 --include-easyblocks-from-pr 3373" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH="5.0.x" /opt/software/slurm/bin/sbatch --job-name test_PR_21611 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 5879

Test results coming soon (I hope)...

- notification for comment with ID 2701596044 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegel boegel removed the status in EasyBuild v5.0 Mar 7, 2025
@boegel boegel added this to the 5.0.0 milestone Mar 7, 2025
@Thyre
Copy link
Collaborator

Thyre commented Mar 11, 2025

Do we want to switch to LLVM 19.1.7 as the last patch release for LLVM 19? Most of our LLVM / Clang EasyConfigs use the last patch release.

@Crivella
Copy link
Contributor Author

Do we want to switch to LLVM 19.1.7 as the last patch release for LLVM 19? Most of our LLVM / Clang EasyConfigs use the last patch release.

I can open another PR with those, had been testing them for the LLVM toolchain anyway

@boegel boegel modified the milestones: 5.0.0, release after 5.0.0 Mar 18, 2025
@Thyre
Copy link
Collaborator

Thyre commented Mar 31, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr21611 --include-easyblocks-from-pr 3675"

@boegelbot
Copy link
Collaborator

@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=21611 EB_ARGS="--installpath /tmp/$USER/pr21611 --include-easyblocks-from-pr 3675" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_21611 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 6058

Test results coming soon (I hope)...

- notification for comment with ID 2766617635 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@Crivella
Copy link
Contributor Author

Crivella commented Apr 4, 2025

For the GH records, regarding #21611 (comment), and the failure https://gist.github.com/boegelbot/be2bbd1d12a38b40b646fab9c2d891d0, this might be related to llvm/llvm-project#130783.

We might have to do the build in a way that we can continue it manually afterwards if we manage to reproduce the error

@boegel boegel changed the base branch from 5.0.x to develop April 9, 2025 13:28
@boegel
Copy link
Member

boegel commented Apr 9, 2025

@Crivella I changed to target branch in this PR from 5.0.x to develop, you should synchronize your PR branch with current develop branch (which has received a massive update after the release of EasyBuild v5.0.0), for example using eb --sync-pr-with-develop.

@Crivella
Copy link
Contributor Author

Crivella commented Apr 9, 2025

@boegel Done

@Thyre
Copy link
Collaborator

Thyre commented Apr 25, 2025

Test report by @Thyre
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#3675
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
ZAM054 - Linux Zorin OS 17, x86_64, 12th Gen Intel(R) Core(TM) i7-1260P, 1 x NVIDIA NVIDIA GeForce MX550, 565.57.01, Python 3.10.12
See https://gist.github.com/Thyre/dc64576430d2576f432c266f13cfb0e5 for a full test report.


FINALLY, we only have the targets we want to have:

$ ls $EBROOTLLVM/lib/x86_64-unknown-linux-gnu/
cmake               libc++abi.a       libc++experimental.a  libc++.so.1.0             libomptarget-nvptx-sm_75.bc  libunwind.a
libarcher.so        libc++abi.so      libc++.modules.json   libompd.so                libomptarget-nvptx-sm_80.bc  libunwind.so
libarcher_static.a  libc++abi.so.1    libc++.so             libomp.so                 libomptarget.so              libunwind.so.1
$ cat $EBROOTLLBM/easybuild/easybuild-LLVM-19.1.1-20250425.135156.log | grep "host;cuda\" plugins" 
-- Building the offload library with support for the "host;cuda" plugins
-- Building the offload library with support for the "host;cuda" plugins
-- Building the offload library with support for the "host;cuda" plugins

@Crivella
Copy link
Contributor Author

Close this in favor of the now merged

with a newer LLVM version (within the same major release) for the same toolchain.

Will open a new PR (or rename+reopen this) if we need to add the SYSTEM variant

@Crivella Crivella closed this May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants