From 173b3ad0c3a74236f9ee2e4d12a66f29fe857e5e Mon Sep 17 00:00:00 2001 From: crivella Date: Fri, 24 Oct 2025 10:48:22 +0200 Subject: [PATCH 1/3] Enhance LLVM hook to cover changes in easyblocks #3881 --- eb_hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/eb_hooks.py b/eb_hooks.py index 7168ea71..4aa2c75e 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -917,6 +917,7 @@ def pre_configure_hook_llvm(self, *args, **kwargs): for software in ('zlib', 'ncurses'): var_name = get_software_root_env_var_name(software) env.setvar(var_name, os.path.join(eprefix, 'usr')) + self.deps.append(software) else: raise EasyBuildError("LLVM-specific hook triggered for non-LLVM easyconfig?!") From 5474f8f710b7cdbd753fb2f68c5fac3a102b8c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Fri, 24 Oct 2025 10:55:42 +0200 Subject: [PATCH 2/3] add easystack to test LLVM --- .../software.eessi.io/2025.06/eessi-2025.06-eb-5.1.2-2025a.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 easystacks/software.eessi.io/2025.06/eessi-2025.06-eb-5.1.2-2025a.yml diff --git a/easystacks/software.eessi.io/2025.06/eessi-2025.06-eb-5.1.2-2025a.yml b/easystacks/software.eessi.io/2025.06/eessi-2025.06-eb-5.1.2-2025a.yml new file mode 100644 index 00000000..f03a46ba --- /dev/null +++ b/easystacks/software.eessi.io/2025.06/eessi-2025.06-eb-5.1.2-2025a.yml @@ -0,0 +1,2 @@ +easyconfigs: + - LLVM-20.1.7-GCCcore-14.2.0.eb From 4b99605d7a5dbf38a6f7993bd0ec2b06f4f643d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Sat, 25 Oct 2025 17:09:09 +0200 Subject: [PATCH 3/3] add divide_by_factor of 2 for LLVM to reduce mem usage --- eb_hooks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eb_hooks.py b/eb_hooks.py index 4aa2c75e..13b673df 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -1708,6 +1708,9 @@ def set_maximum(parallel, max_value): '*': (divide_by_factor, 2), CPU_TARGET_A64FX: (set_maximum, 12), }, + 'LLVM': { + '*': (divide_by_factor, 2), + }, 'MBX': { '*': (divide_by_factor, 2), CPU_TARGET_A64FX: (set_maximum, 1),