Skip to content

{compiler}[GCCcore/13.3.0] Clang v18.1.8 w/ CUDA 12.6.0#22300

Merged
smoors merged 1 commit intoeasybuilders:developfrom
ThomasHoffmann77:20250213095045_new_pr_Clang1818
Feb 14, 2025
Merged

{compiler}[GCCcore/13.3.0] Clang v18.1.8 w/ CUDA 12.6.0#22300
smoors merged 1 commit intoeasybuilders:developfrom
ThomasHoffmann77:20250213095045_new_pr_Clang1818

Conversation

@ThomasHoffmann77
Copy link
Copy Markdown
Contributor

(created using eb --new-pr)

@github-actions
Copy link
Copy Markdown

Updated software Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb

Diff against Clang-17.0.0_20230515-GCCcore-12.3.0-CUDA-12.1.1.eb

easybuild/easyconfigs/c/Clang/Clang-17.0.0_20230515-GCCcore-12.3.0-CUDA-12.1.1.eb

diff --git a/easybuild/easyconfigs/c/Clang/Clang-17.0.0_20230515-GCCcore-12.3.0-CUDA-12.1.1.eb b/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb
index 947a6afdad..4ab1428d8b 100644
--- a/easybuild/easyconfigs/c/Clang/Clang-17.0.0_20230515-GCCcore-12.3.0-CUDA-12.1.1.eb
+++ b/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb
@@ -9,9 +9,8 @@
 ##
 
 name = 'Clang'
-version = '17.0.0_20230515'
+version = '18.1.8'
 versionsuffix = '-CUDA-%(cudaver)s'
-_commit = 'c5dede880d17'
 
 homepage = 'https://clang.llvm.org/'
 description = """C, C++, Objective-C compiler, based on LLVM.  Does not
@@ -19,36 +18,34 @@ description = """C, C++, Objective-C compiler, based on LLVM.  Does not
 
 # Clang also depends on libstdc++ during runtime, but this dependency is
 # already specified as the toolchain.
-toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
-sources = [{
-    'source_urls': ["https://github.com/llvm/llvm-project/archive"],
-    'download_filename': '%s.tar.gz' % _commit,
-    'filename': 'llvm-project-%s.tar.gz' % version,
-}]
-checksums = ['6f371f9ac208b8e9dc57fc117b1a9c8565d7ea2bbb49a2768cb9c3c0fee0291d']
+source_urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s"]
+sources = [
+    'llvm-project-%(version)s.src.tar.xz',
+]
+checksums = ['0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a']
 
 builddependencies = [
-    ('CMake', '3.26.3'),
-    ('Perl', '5.36.1'),
+    ('CMake', '3.29.3'),
+    ('Perl', '5.38.2'),
     # Including Python bindings would require this as a runtime dep
-    ('Python', '3.11.3'),
+    # and SWIG as an additional build dep
+    ('Python', '3.12.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'),
-    ('CUDA', '12.1.1', '', SYSTEM),
+    ('binutils', '2.42'),
+    ('hwloc', '2.10.0'),
+    ('libxml2', '2.12.7'),
+    ('ncurses', '6.5'),
+    ('GMP', '6.3.0'),
+    ('Z3', '4.13.0'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+
 ]
 
-# 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++
+# If True, Flang does not currently support building with LLVM exceptions enabled.
 enable_rtti = False
 
 assertions = True
Diff against Clang-18.1.8-GCCcore-13.3.0.eb

easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0.eb

diff --git a/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0.eb b/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb
index 8b096078c8..4ab1428d8b 100644
--- a/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0.eb
+++ b/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb
@@ -10,6 +10,7 @@
 
 name = 'Clang'
 version = '18.1.8'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://clang.llvm.org/'
 description = """C, C++, Objective-C compiler, based on LLVM.  Does not
@@ -40,6 +41,8 @@ dependencies = [
     ('ncurses', '6.5'),
     ('GMP', '6.3.0'),
     ('Z3', '4.13.0'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+
 ]
 
 # If True, Flang does not currently support building with LLVM exceptions enabled.
Diff against Clang-17.0.6-GCCcore-13.2.0.eb

easybuild/easyconfigs/c/Clang/Clang-17.0.6-GCCcore-13.2.0.eb

diff --git a/easybuild/easyconfigs/c/Clang/Clang-17.0.6-GCCcore-13.2.0.eb b/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb
index 1cb99d62d9..4ab1428d8b 100644
--- a/easybuild/easyconfigs/c/Clang/Clang-17.0.6-GCCcore-13.2.0.eb
+++ b/easybuild/easyconfigs/c/Clang/Clang-18.1.8-GCCcore-13.3.0-CUDA-12.6.0.eb
@@ -9,7 +9,8 @@
 ##
 
 name = 'Clang'
-version = '17.0.6'
+version = '18.1.8'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://clang.llvm.org/'
 description = """C, C++, Objective-C compiler, based on LLVM.  Does not
@@ -17,29 +18,31 @@ description = """C, C++, Objective-C compiler, based on LLVM.  Does not
 
 # Clang also depends on libstdc++ during runtime, but this dependency is
 # already specified as the toolchain.
-toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s"]
 sources = [
     'llvm-project-%(version)s.src.tar.xz',
 ]
-checksums = ['58a8818c60e6627064f312dbf46c02d9949956558340938b71cf731ad8bc0813']
+checksums = ['0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a']
 
 builddependencies = [
-    ('CMake', '3.27.6'),
-    ('Perl', '5.38.0'),
+    ('CMake', '3.29.3'),
+    ('Perl', '5.38.2'),
     # Including Python bindings would require this as a runtime dep
     # and SWIG as an additional build dep
-    ('Python', '3.11.5'),
+    ('Python', '3.12.3'),
 ]
 dependencies = [
     # since Clang is a compiler, binutils is a runtime dependency too
-    ('binutils', '2.40'),
-    ('hwloc', '2.9.2'),
-    ('libxml2', '2.11.5'),
-    ('ncurses', '6.4'),
+    ('binutils', '2.42'),
+    ('hwloc', '2.10.0'),
+    ('libxml2', '2.12.7'),
+    ('ncurses', '6.5'),
     ('GMP', '6.3.0'),
     ('Z3', '4.13.0'),
+    ('CUDA', '12.6.0', '', SYSTEM),
+
 ]
 
 # If True, Flang does not currently support building with LLVM exceptions enabled.

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Feb 13, 2025

@boegelbot please test @ jsc-zen3-a100

@boegelbot
Copy link
Copy Markdown
Collaborator

@smoors: 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=22300 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_22300 --ntasks=8 --partition=jsczen3g --gres=gpu:1 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 2656867291 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
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
jsczen3g1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), 1 x NVIDIA NVIDIA A100 80GB PCIe, 555.42.06, Python 3.9.21
See https://gist.github.com/boegelbot/599472be269a6594f8a0e661e1e18ba0 for a full test report.

Copy link
Copy Markdown
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@smoors smoors added this to the release after 4.9.4 milestone Feb 14, 2025
@smoors
Copy link
Copy Markdown
Contributor

smoors commented Feb 14, 2025

Going in, thanks @ThomasHoffmann77!

@smoors smoors merged commit 6e71b97 into easybuilders:develop Feb 14, 2025
10 checks passed
@boegel boegel modified the milestones: release after 4.9.4, 5.0.0 Mar 18, 2025
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