From 95ea526fddc2ccbb386478769b0c49922483eedf Mon Sep 17 00:00:00 2001 From: minghangli-uni <24727729+minghangli-uni@users.noreply.github.com> Date: Tue, 10 Feb 2026 16:12:56 +1100 Subject: [PATCH 1/5] based on access-spack-packages for test purpose only --- babeltrace2/spack.yaml | 1 + config/versions.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/babeltrace2/spack.yaml b/babeltrace2/spack.yaml index 9bf8f3c..2c33c1b 100644 --- a/babeltrace2/spack.yaml +++ b/babeltrace2/spack.yaml @@ -9,6 +9,7 @@ spack: all: require: - '%intel@2021.10.0' + - 'target=x86_64' view: true concretizer: unify: true diff --git a/config/versions.json b/config/versions.json index c66cc11..e921de9 100644 --- a/config/versions.json +++ b/config/versions.json @@ -1,5 +1,5 @@ { "$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json", "spack": "0.22", - "spack-packages": "2025.09.004" + "spack-packages": "babeltrace2-test" } From c8828c00d7001d1551ea529d1e241cbb299c0e7f Mon Sep 17 00:00:00 2001 From: minghangli-uni <24727729+minghangli-uni@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:04:11 +1100 Subject: [PATCH 2/5] target specific to specs only not global target --- babeltrace2/spack.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/babeltrace2/spack.yaml b/babeltrace2/spack.yaml index 2c33c1b..01f5035 100644 --- a/babeltrace2/spack.yaml +++ b/babeltrace2/spack.yaml @@ -4,12 +4,11 @@ # configuration settings. spack: specs: - - babeltrace2@2.1.2 + - babeltrace2@2.1.2 %intel@2021.10.0 target=x86_64 packages: all: require: - '%intel@2021.10.0' - - 'target=x86_64' view: true concretizer: unify: true From b16ab3a029fa575753f5e92802843c321df86460 Mon Sep 17 00:00:00 2001 From: minghangli-uni <24727729+minghangli-uni@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:43:46 +1100 Subject: [PATCH 3/5] Remove compiler --- babeltrace2/spack.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babeltrace2/spack.yaml b/babeltrace2/spack.yaml index 01f5035..5c331c0 100644 --- a/babeltrace2/spack.yaml +++ b/babeltrace2/spack.yaml @@ -4,11 +4,11 @@ # configuration settings. spack: specs: - - babeltrace2@2.1.2 %intel@2021.10.0 target=x86_64 + - babeltrace2@2.1.2 packages: all: require: - - '%intel@2021.10.0' + - 'target=x86_64' view: true concretizer: unify: true From d641aaf7bf576486bc5a145cd60e8f74230a551d Mon Sep 17 00:00:00 2001 From: minghangli-uni <24727729+minghangli-uni@users.noreply.github.com> Date: Tue, 10 Feb 2026 22:12:34 +1100 Subject: [PATCH 4/5] explicitly specify target=x86_64_v4 --- babeltrace2/spack.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/babeltrace2/spack.yaml b/babeltrace2/spack.yaml index 5c331c0..c1c6237 100644 --- a/babeltrace2/spack.yaml +++ b/babeltrace2/spack.yaml @@ -8,7 +8,7 @@ spack: packages: all: require: - - 'target=x86_64' + - 'target=x86_64_v4' view: true concretizer: unify: true @@ -19,4 +19,3 @@ spack: - babeltrace2 projections: babeltrace2: 'model-tools/{name}/2.1.2' - \ No newline at end of file From a2b92f8e570c3d1a6d8eca90a3632803bf0a622c Mon Sep 17 00:00:00 2001 From: minghangli-uni <24727729+minghangli-uni@users.noreply.github.com> Date: Tue, 10 Feb 2026 23:52:46 +1100 Subject: [PATCH 5/5] specify compiler and no target --- babeltrace2/spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babeltrace2/spack.yaml b/babeltrace2/spack.yaml index c1c6237..febd84e 100644 --- a/babeltrace2/spack.yaml +++ b/babeltrace2/spack.yaml @@ -8,7 +8,7 @@ spack: packages: all: require: - - 'target=x86_64_v4' + - '%intel@2021.10.0' view: true concretizer: unify: true