From 67709d4525824100fd67ca499defe64d882c3793 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Wed, 19 Jun 2024 19:14:10 +0200
Subject: [PATCH] Adding more constraint

---
 stacks/pinot-noir/concretizer.yaml  | 8 +-------
 stacks/pinot-noir/packages_jed.yaml | 7 +++++--
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/stacks/pinot-noir/concretizer.yaml b/stacks/pinot-noir/concretizer.yaml
index 36bda7e..698e4c7 100644
--- a/stacks/pinot-noir/concretizer.yaml
+++ b/stacks/pinot-noir/concretizer.yaml
@@ -1,11 +1,5 @@
 concretizer:
-  reuse:
-    roots: true
-    include:
-      - '%gcc@11.4.1'
-    from:
-      - type: local
-
+  reuse: false
   unify: false
   duplicates:
     strategy: minimal
diff --git a/stacks/pinot-noir/packages_jed.yaml b/stacks/pinot-noir/packages_jed.yaml
index 371b33b..7169252 100644
--- a/stacks/pinot-noir/packages_jed.yaml
+++ b/stacks/pinot-noir/packages_jed.yaml
@@ -2,10 +2,13 @@ packages:
   all:
     target: ["icelake"]
     require:
-      - spec: ^openmpi +cuda
+      - spec: ^openmpi +cuda target=icelake
         when: '%gcc ^mpi'
 
-      - spec: cuda_arch=90
+      - spec: cuda_arch=90 target=icelake
         when: '+cuda'
 
+      - spec: "^cuda target=icelake"
+        when: '^cuda'
+
       - '+cuda'
-- 
GitLab