From 6c7f757e5177988e37c0009e28b217394432a117 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Mon, 1 May 2023 17:08:36 +0000
Subject: [PATCH] feat: target=x86_64_v2 minimum for (some) vectorization

---
 containers/jug/dev.Dockerfile    | 2 +-
 spack-environment/dev/spack.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index 662765722..70ed47793 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -45,7 +45,7 @@ SHELL ["docker-shell"]
 
 ARG jobs=64
 RUN declare -A target=(                                                 \
-      ["linux/amd64"]="x86_64"                                          \
+      ["linux/amd64"]="x86_64_v2"                                       \
       ["linux/arm64"]="aarch64"                                         \
     )                                                                   \
  && target=${target[${TARGETPLATFORM}]}                                 \
diff --git a/spack-environment/dev/spack.yaml b/spack-environment/dev/spack.yaml
index 3cf257d1d..1bc01863a 100644
--- a/spack-environment/dev/spack.yaml
+++ b/spack-environment/dev/spack.yaml
@@ -3,7 +3,7 @@ spack:
   - ../concretizer.yaml
   - ../packages.yaml
   specs:
-    - acts@21.1.0 +dd4hep +identification +json +tgeo +examples +fatras +geant4 +python
+    - acts@21.1.0 +dd4hep +identification +json +tgeo +examples +fatras +geant4 +python build_type=Debug
     - actsvg@0.4.26 +examples
     - acts-dd4hep@1.0.1
     - afterburner@0.1.2 +root +zlib
-- 
GitLab