From e06fe31e898c94b1ce7792f85b16e73e5e6f1f90 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Fri, 30 May 2025 16:33:08 -0500 Subject: [PATCH] fix: package:all:prefer can use variants though --- spack-environment/packages.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index a4c274b9d..89896f4d6 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -13,6 +13,9 @@ packages: all: prefer: # is not overwritten below, but less strict than require - '%gcc' + - +ipo + - build_system=cmake + - build_type=Release require: # is overwritten by package-specific requirements below - '%gcc' - any_of: [+ipo, '@:'] -- GitLab