From fffa83b66bf72475838225b445adc25abb43bd17 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 29 Sep 2023 21:20:17 +0000
Subject: [PATCH] feat: install valgrind as spack package

---
 containers/debian/base.Dockerfile | 1 -
 spack-environment/dev/spack.yaml  | 1 +
 spack-environment/packages.yaml   | 3 +++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/containers/debian/base.Dockerfile b/containers/debian/base.Dockerfile
index fac3952c7..7f3642415 100644
--- a/containers/debian/base.Dockerfile
+++ b/containers/debian/base.Dockerfile
@@ -52,7 +52,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked             \
         poppler-utils                                                   \
         time                                                            \
         unzip                                                           \
-        valgrind                                                        \
         vim-nox                                                         \
         wget                                                            \
  && apt-get -yqq autoremove                                             \
diff --git a/spack-environment/dev/spack.yaml b/spack-environment/dev/spack.yaml
index 13c38b5c4..08fa088e6 100644
--- a/spack-environment/dev/spack.yaml
+++ b/spack-environment/dev/spack.yaml
@@ -78,5 +78,6 @@ spack:
     - spdlog
     - stow
     - tensorflow-lite
+    - valgrind
     - xrootd
   view: false
diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml
index 0a804dcfb..2a51b712c 100644
--- a/spack-environment/packages.yaml
+++ b/spack-environment/packages.yaml
@@ -296,6 +296,9 @@ packages:
     require:
     - '@2.8.0'
     - -xnnpack
+  valgrind:
+    require:
+    - '@3.20.0'
   xrootd:
     require:
     - '@5.5.5'
-- 
GitLab