From 1eb9778ff93ec51f4d7701b4a4efb0f3bcafbd5f Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Mon, 20 Nov 2023 02:00:21 +0000
Subject: [PATCH] feat: ROOT C++20 support, `root cxxstd=20`

---
 spack-environment/packages.yaml | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml
index 6c65cb071..152f83d06 100644
--- a/spack-environment/packages.yaml
+++ b/spack-environment/packages.yaml
@@ -18,7 +18,7 @@ packages:
   acts:
     require:
     - '@30.3.2'
-    - +binaries +dd4hep +examples +fatras +geant4 +identification +json +python +tgeo
+    - cxxstd=20 +binaries +dd4hep +examples +fatras +geant4 +identification +json +python +tgeo
   actsvg:
     require:
     - '@0.4.26'
@@ -32,7 +32,7 @@ packages:
     - +root +zlib
   algorithms:
     require:
-    - '@git.ebc8f85709bc7233574843b843ee0191a5bf3c1d'
+    - '@git.a1e6f0def343c2ddea5df7158c52a30376099a13'
   cairo:
     require:
     - '@1.16.0'
@@ -48,7 +48,7 @@ packages:
   clhep:
     require:
     - '@2.4.6.4'
-    - cxxstd=17
+    - cxxstd=20
   cli11:
     require:
     - '@2.3.2'
@@ -81,11 +81,11 @@ packages:
   edm4eic:
     require:
     - '@4.0.0'
-    - cxxstd=17
+    - cxxstd=20
   edm4hep:
     require:
     - '@0.10'
-    - cxxstd=17
+    - cxxstd=20
   eic-smear:
     require:
     - '@1.1.12'
@@ -120,7 +120,7 @@ packages:
   geant4:
     require:
     - '@11.1.3.east'
-    - cxxstd=17 -vecgeom +threads -vtk
+    - cxxstd=20 -vecgeom +threads -vtk
     - any_of: [+opengl +qt +x11, -opengl -qt -x11]
   graphviz:
     require:
@@ -191,6 +191,7 @@ packages:
   podio:
     require:
     - '@0.16.7'
+    - cxxstd=20
   prmon:
     require:
     - '@3.0.2'
@@ -198,7 +199,7 @@ packages:
   pythia8:
     require:
     - '@8.309'
-    - +fastjet
+    - +fastjet +root
   python:
     require:
     - '@3.10.10'
@@ -293,7 +294,7 @@ packages:
   root:
     require:
     - '@6.28.06'
-    - cxxstd=17 +fftw +fortran +gdml +http -ipo +mlp +pythia8 +root7 +tmva +vc +xrootd +ssl
+    - cxxstd=20 +fftw +fortran +gdml +http -ipo +mlp +root7 +tmva +vc +xrootd +ssl
     - any_of: [+opengl +webgui +x, -opengl -webgui -x]
   snakemake:
     require:
@@ -316,4 +317,4 @@ packages:
   xrootd:
     require:
     - '@5.5.5'
-    - cxxstd=17 -davix +python +scitokens-cpp
+    - cxxstd=20 -davix +python +scitokens-cpp
-- 
GitLab