Skip to content

{compiler}[GCCcore/13.2.0] LLVM-20.1.5 for foss 2023b toolchains #22924

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

Crivella
Copy link
Contributor

Added LLVM-20.1.5 EC file for GCCcore/2023b

Copy link

Updated software LLVM-20.1.5-GCCcore-13.2.0.eb

Diff against LLVM-20.1.5-GCCcore-13.3.0.eb

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

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.3.0.eb b/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.2.0.eb
index b327e8c1db..d536f6c513 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.2.0.eb
@@ -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 = {'name': 'GCCcore', 'version': '13.2.0'}
 toolchainopts = {
     # 'cstd': 'gnu++11',
     'pic': True
@@ -33,22 +33,19 @@ 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'),
-    ('CMake', '3.29.3'),
-    ('psutil', '6.0.0'),  # Needed to enable test timeout in lit
-    ('lit', '18.1.8'),
-    ('git', '2.45.1'),
+    ('binutils', '2.40'),
+    ('Python', '3.11.5'),
+    ('CMake', '3.27.6'),
+    ('psutil', '6.1.0'),  # Needed to enable test timeout in lit
+    ('lit', '18.1.7'),
+    ('git', '2.42.0'),
 ]
 
 dependencies = [
-    ('libxml2', '2.12.7'),
-    ('ncurses', '6.5'),
-    ('zlib', '1.3.1'),
+    ('libxml2', '2.11.5'),
+    ('ncurses', '6.4'),
+    ('zlib', '1.2.13'),
     ('Z3', '4.13.0'),
 ]
 
Diff against LLVM-19.1.7-GCCcore-13.3.0.eb

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

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.7-GCCcore-13.3.0.eb b/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.2.0.eb
index d5be678f69..d536f6c513 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-19.1.7-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.2.0.eb
@@ -1,5 +1,5 @@
 name = 'LLVM'
-version = '19.1.7'
+version = '20.1.5'
 
 
 homepage = "https://llvm.org/"
@@ -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 = {'name': 'GCCcore', 'version': '13.2.0'}
 toolchainopts = {
     # 'cstd': 'gnu++11',
     'pic': True
@@ -27,28 +27,25 @@ patches = [
     'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
-    {'llvm-project-19.1.7.src.tar.xz': '82401fea7b79d0078043f7598b835284d6650a75b93e64b6f761ea7b63097501'},
+    {'llvm-project-20.1.5.src.tar.xz': 'a069565cd1c6aee48ee0f36de300635b5781f355d7b3c96a28062d50d575fa3e'},
     {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
     {'LLVM-19.1.7_libomptarget_tests.patch': '79a67c118d034cfb74e255696369150c73432d2b422f4834efacb26f7904edbf'},
     {'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'),
+    ('binutils', '2.40'),
+    ('Python', '3.11.5'),
+    ('CMake', '3.27.6'),
+    ('psutil', '6.1.0'),  # Needed to enable test timeout in lit
+    ('lit', '18.1.7'),
+    ('git', '2.42.0'),
 ]
 
 dependencies = [
-    ('libxml2', '2.12.7'),
-    ('ncurses', '6.5'),
-    ('zlib', '1.3.1'),
+    ('libxml2', '2.11.5'),
+    ('ncurses', '6.4'),
+    ('zlib', '1.2.13'),
     ('Z3', '4.13.0'),
 ]
 
@@ -68,9 +65,7 @@ usepolly = True
 
 python_bindings = True
 
-# all includes NVPTX/AMDGPU and requires setting `cuda-compute-capabilities`/`amd_gfx_list` to work out of the box
-# build_targets = ['all']
-
+build_targets = ['all']
 # disable_werror = True
 
 skip_all_tests = False
Diff against LLVM-20.1.4-GCCcore-13.3.0.eb

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

diff --git a/easybuild/easyconfigs/l/LLVM/LLVM-20.1.4-GCCcore-13.3.0.eb b/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.2.0.eb
index f0389b876c..d536f6c513 100644
--- a/easybuild/easyconfigs/l/LLVM/LLVM-20.1.4-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.2.0.eb
@@ -1,5 +1,5 @@
 name = 'LLVM'
-version = '20.1.4'
+version = '20.1.5'
 
 
 homepage = "https://llvm.org/"
@@ -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 = {'name': 'GCCcore', 'version': '13.2.0'}
 toolchainopts = {
     # 'cstd': 'gnu++11',
     'pic': True
@@ -27,28 +27,25 @@ patches = [
     'LLVM-19.1.7_clang_rpathwrap_test.patch',
 ]
 checksums = [
-    {'llvm-project-20.1.4.src.tar.xz': 'a95365b02536ed4aef29b325c205dd89c268cba41503ab2fc05f81418613ab63'},
+    {'llvm-project-20.1.5.src.tar.xz': 'a069565cd1c6aee48ee0f36de300635b5781f355d7b3c96a28062d50d575fa3e'},
     {'LLVM-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
     {'LLVM-19.1.7_libomptarget_tests.patch': '79a67c118d034cfb74e255696369150c73432d2b422f4834efacb26f7904edbf'},
     {'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'),
+    ('binutils', '2.40'),
+    ('Python', '3.11.5'),
+    ('CMake', '3.27.6'),
+    ('psutil', '6.1.0'),  # Needed to enable test timeout in lit
+    ('lit', '18.1.7'),
+    ('git', '2.42.0'),
 ]
 
 dependencies = [
-    ('libxml2', '2.12.7'),
-    ('ncurses', '6.5'),
-    ('zlib', '1.3.1'),
+    ('libxml2', '2.11.5'),
+    ('ncurses', '6.4'),
+    ('zlib', '1.2.13'),
     ('Z3', '4.13.0'),
 ]
 

@Crivella
Copy link
Contributor Author

@boegelbot please test @ jsc-zen3
EB_ARGS="--installpath /tmp/$USER/pr22924"

@boegelbot
Copy link
Collaborator

@Crivella: 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=22924 EB_ARGS="--installpath /tmp/$USER/pr22924" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_22924 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

- notification for comment with ID 2896945554 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 Crivella added this to the release after 5.1.0 milestone May 21, 2025
@Crivella
Copy link
Contributor Author

Crivella commented May 21, 2025

Test report by @Crivella
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
crivella-desktop - Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish), x86_64, 13th Gen Intel(R) Core(TM) i9-13900K (skylake), Python 3.11.12
See https://gist.github.com/Crivella/4df2f61e662c1ce463655f3fab18df32 for a full test report.

Tests

2 warning(s) in tests
********************
Failed Tests (5):
  BOLT-Unit :: Core/./CoreTests/failed_to_discover_tests_from_gtest
  Clang Tools :: modularize/ProblemsCoverage.modularize
  Flang :: Driver/gcc-toolchain-install-dir.f90
  LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll
  ompd-test :: api_tests/test_ompd_get_icv_from_scope.c


Testing Time: 1557.35s

Total Discovered Tests: 140094
  Skipped          :     25 (0.02%)
  Unsupported      :   5506 (3.93%)
  Passed           : 134281 (95.85%)
  Expectedly Failed:    277 (0.20%)
  Failed           :      5 (0.00%)

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 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/eb05c2a0b10fe69cc246511b9357339c for a full test report.

@ocaisa ocaisa merged commit 61a878c into easybuilders:develop May 22, 2025
8 checks passed
@Crivella Crivella deleted the feature-LLVM-foss2023b branch May 22, 2025 09:53
@adammccartney
Copy link

Test report by @adammccartney
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#3741
FAILED
Build succeeded for 1 out of 2 (1 easyconfigs in total)
n3002-032 - Linux Debian GNU/Linux 11 (bullseye), x86_64, AMD EPYC 9654 96-Core Processor, 4 x NVIDIA NVIDIA H100, 560.35.05, Python 3.11.4
See https://gist.github.com/adammccartney/6254f1cea088ecf570926f27f148477f for a full test report.

@ocaisa
Copy link
Member

ocaisa commented Jun 6, 2025

@adammccartney If you are testing this on top of EESSI, you will also need EESSI/software-layer#1093 (which I will merge in the next hour)

@adammccartney
Copy link

@adammccartney If you are testing this on top of EESSI, you will also need EESSI/software-layer#1093 (which I will merge in the next hour)

Thanks, @Crivella had already ran a build so pointed out the need for the hook yesterday, I'm pulling it in to our local hooks.

p.s. An "eb-hooks-from-pr" would be a handy feature!

@adammccartney
Copy link

Test report by @adammccartney
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#3741
SUCCESS
Build succeeded for 3 out of 3 (1 easyconfigs in total)
n3005-032 - Linux Debian GNU/Linux 11 (bullseye), x86_64, AMD EPYC 9654 96-Core Processor, 4 x NVIDIA NVIDIA H100, 560.35.05, Python 3.11.4
See https://gist.github.com/adammccartney/0b17e588cebaec05404ac1e18e8454e3 for a full test report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants