From 762deecf36f253afcba081149a57f5deff619f93 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <networms@gmail.ch>
Date: Tue, 18 Jun 2024 23:03:18 +0200
Subject: [PATCH] switching to generic target x86_64_v3 (avx2)

---
 stacks/pinot-noir/config.json   | 5 ++++-
 stacks/pinot-noir/packages.yaml | 6 ------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/stacks/pinot-noir/config.json b/stacks/pinot-noir/config.json
index 644aa7d..112a075 100644
--- a/stacks/pinot-noir/config.json
+++ b/stacks/pinot-noir/config.json
@@ -14,7 +14,7 @@
     },
     "stack": {
         "mount_point": "/stack",
-        "system_arch": "arch=linux-rhel9-x86_64_v2",
+        "system_arch": "target=x86_64_v3",
         "system_compiler": {
             "gcc@11": {
                 "compiler": "gcc",
@@ -74,7 +74,10 @@
             "pcre",
             "perl",
             "pkgconf",
+            "pmix",
+            "rdma-core",
             "readline",
+            "slurm",
             "sqlite",
             "texinfo",
             "zlib-ng"
diff --git a/stacks/pinot-noir/packages.yaml b/stacks/pinot-noir/packages.yaml
index 4471a36..52e1dd1 100644
--- a/stacks/pinot-noir/packages.yaml
+++ b/stacks/pinot-noir/packages.yaml
@@ -74,21 +74,15 @@ packages:
     externals:
     - spec: 'rdma-core@44.1'
       prefix: /usr
-    require:
-    - spec: '%gcc@11.4.1 arch=linux-rhel9-x86_64_v2'
 
   slurm:
     buildable: false
     externals:
     - spec: 'slurm@23-11-0-1'
       prefix: /usr
-    require:
-    - spec: '%gcc@11.4.1 arch=linux-rhel9-x86_64_v2'
 
   pmix:
     buildable: false
     externals:
     - spec: 'pmix@5.0.1'
       prefix: /usr
-    require:
-    - spec: '%gcc@11.4.1 arch=linux-rhel9-x86_64_v2'
-- 
GitLab