From 4d032383aeb20b5e99d1137021f5d65878095e19 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Mon, 8 Feb 2021 22:55:55 +0100 Subject: [PATCH] scripts: Install dependencies for x86_64 in CI CI typically runs on a range of different architectures, making caching unreliable due to Spack's architectures detection. --- scripts/spack | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/spack b/scripts/spack index ab3f05da0..36a5597db 100644 --- a/scripts/spack +++ b/scripts/spack @@ -161,6 +161,11 @@ spack_install_dependencies () if spack_clone then + if test -n "${CI}" + then + spack_cmd config add 'packages:all:target:[x86_64]' + fi + spack_cmd mark --implicit --all for dependency in $(spack_get_dependencies "${mode}")