From 1efe3c49c6dc5f6e23017def5b9bcffcf1c979c4 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Sun, 8 Sep 2024 19:13:09 +0000
Subject: [PATCH] fix: packages: all: require: any_of -> prefer

---
 spack-environment/packages.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml
index b0d3a70ef..5b8050054 100644
--- a/spack-environment/packages.yaml
+++ b/spack-environment/packages.yaml
@@ -11,11 +11,11 @@
 #
 packages:
   all:
-    require:
+    prefer:
     - '%gcc'
-    - any_of: [+ipo, '@:']
-    - any_of: [build_system=cmake, '@:']
-    - any_of: [build_type=Release, '@:']
+    - '+ipo'
+    - 'build_system=cmake'
+    - 'build_type=Release'
   acts:
     require:
     - '%clang'
-- 
GitLab