From 5ee6c25a75b6d8c1ee4bc1c2874f4a32e679ac43 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 17 Mar 2025 10:51:54 +0100 Subject: [PATCH] spack v1.0 support: %foo +bar -> +bar %foo Spack v1.0 will parse `pkg %gcc +foo` as "pkg with direct dependency gcc with variant foo enabled" instead of "pkg with variant foo enabled and compiler gcc". Reorder as `pkg +foo %gcc` to be compatible with Spack v0.x and v1.0. --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 28b3a54..c558147 100644 --- a/spack.yaml +++ b/spack.yaml @@ -21,7 +21,7 @@ spack: signed: false packages: all: - require: '%gcc@12 target=x86_64_v3' + require: 'target=x86_64_v3 %gcc@12' modules: prefix_inspections: lib: ["LD_LIBRARY_PATH"]