From 4c2752a91f8dec761ea7223af0155210e24a6b42 Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 24 Sep 2024 16:06:01 +0200 Subject: [PATCH 1/3] Add clang --- .../software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb diff --git a/easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb b/easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb new file mode 100644 index 0000000000..e27cca0695 --- /dev/null +++ b/easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb @@ -0,0 +1,2 @@ +easyconfigs: + - Clang-16.0.6-GCCcore-12.3.0.eb From 584c642cdb218db62ca8480c99da58837677957f Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 24 Sep 2024 16:22:27 +0200 Subject: [PATCH 2/3] Rename erroneous extension --- ...2023.06-eb-4.9.3-2023a.eb => eessi-2023.06-eb-4.9.3-2023a.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename easystacks/software.eessi.io/2023.06/{eessi-2023.06-eb-4.9.3-2023a.eb => eessi-2023.06-eb-4.9.3-2023a.yml} (100%) diff --git a/easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb b/easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.yml similarity index 100% rename from easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.eb rename to easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.9.3-2023a.yml From 79b052efe4689ddd1e322c0f6a3302a05c48499f Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Wed, 25 Sep 2024 10:48:09 +0200 Subject: [PATCH 3/3] Add clang to the memory hungry builds --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index b3e457cfe3..edb03e44cd 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -85,7 +85,7 @@ def post_ready_hook(self, *args, **kwargs): # 'parallel' easyconfig parameter is set via EasyBlock.set_parallel in ready step based on available cores. # here we reduce parallellism to only use half of that for selected software, # to avoid failing builds/tests due to out-of-memory problems; - memory_hungry_build = self.name in ['libxc', 'MBX', 'TensorFlow'] + memory_hungry_build = self.name in ['Clang', 'libxc', 'MBX', 'TensorFlow'] # on A64FX systems, (HBM) memory is typically scarce, so we need to use fewer cores for some builds cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR') memory_hungry_build_a64fx = cpu_target == CPU_TARGET_A64FX and self.name in ['Qt5']