From e4d826748e501e68e73d8c8a118eb1b2592ab872 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Tue, 10 Nov 2026 15:08:12 -0500 Subject: [PATCH 1/8] build(spack): switch supported packages to cxxstd=23 --- docs/spack-environment.md | 4 ++-- spack-environment/packages.yaml | 22 +++++++++++++--------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/docs/spack-environment.md b/docs/spack-environment.md index a722de5a6..82f117afc 100644 --- a/docs/spack-environment.md +++ b/docs/spack-environment.md @@ -61,8 +61,8 @@ packages: # Package-specific requirements root: require: - - '@6.36.04' - - cxxstd=20 +fftw +fortran +gdml +http +python +root7 +tmva + - '@6.40.04' + - cxxstd=23 +fftw +fortran +gdml +http +python +root7 +tmva - any_of: [+opengl +webgui, -opengl -webgui] ``` diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 3ce12ad92..97bed6229 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -34,7 +34,7 @@ packages: acts: require: - '@47.7.0' - - cxxstd=20 +dd4hep +edm4hep +examples +fatras +geant4 +json +onnx +podio +python +svg +root +pr4496 +pr4502 +pr4620 + - cxxstd=23 +dd4hep +edm4hep +examples +fatras +geant4 +json +onnx +podio +python +svg +root +pr4496 +pr4502 +pr4620 # ACTS requires same compiler as DD4hep since compiler options are reused - spec: '%gcc' when: '^dd4hep %gcc' @@ -70,7 +70,7 @@ packages: - +atomic +chrono +context +date_time +exception +fiber +filesystem +graph - +iostreams +locale +log +math +program_options +python +random +regex - +serialization +system +test +thread +timer +wave - - cxxstd=20 + - cxxstd=23 c: prefer: - gcc @@ -101,7 +101,7 @@ packages: clhep: require: - '@2.4.7.2' - - cxxstd=20 + - cxxstd=23 cli11: require: - '@2.4.2:' @@ -134,6 +134,7 @@ packages: dd4hep: require: - '@1.38' + - cxxstd=23 - +ddg4 +ddcad +edm4hep +g4hepem +hepmc3 +xercesc - any_of: [+ddeve +utilityapps, -ddeve -utilityapps] # FIXME ^root +x +opengl when +utilityapps doxygen: @@ -151,11 +152,12 @@ packages: edm4eic: require: - '@8.11.0' # EDM4EIC_VERSION + # edm4eic Spack recipe only supports up to cxxstd=20 at this point - cxxstd=20 edm4hep: require: - '@1.1' - - cxxstd=20 + - cxxstd=23 egl: buildable: False externals: @@ -208,7 +210,7 @@ packages: fmt: require: - '@11.2.0:11' - - +shared cxxstd=20 + - +shared cxxstd=23 fortran: prefer: - gcc @@ -256,7 +258,7 @@ packages: geant4: require: - '@11.4.1.east' - - cxxstd=20 -vecgeom +threads -vtk + - cxxstd=23 -vecgeom +threads -vtk - any_of: [+opengl +qt +x11, -opengl -qt -x11] geant4-data: require: @@ -458,7 +460,7 @@ packages: podio: require: - '@1.8' - - cxxstd=20 + - cxxstd=23 - +arrow +datasource +parquet +rntuple package_attributes: run_tests: true @@ -671,7 +673,7 @@ packages: root: require: - '@6.40.04' - - cxxstd=20 +fftw +fortran +gdml +http -ipo +mlp +python +root7 +tmva +tmva-sofie +x +xrootd +ssl + - cxxstd=23 +fftw +fortran +gdml +http -ipo +mlp +python +root7 +tmva +tmva-sofie +x +xrootd +ssl - any_of: [+opengl +webgui, -opengl -webgui] rucio-eic-mcp-server: require: @@ -679,6 +681,7 @@ packages: sherpa: require: - '@3.0.3' + # sherpa Spack recipe only supports up to cxxstd=20 at this point - cxxstd=20 +analysis ~blackhat ~cms +gzip +hepmc3 +hepmc3root ~internal_pdfs +ipo +lhapdf +lhole +mpi +openloops +pythia +python ~recola +rivet +root ~ufo simphony: require: @@ -743,10 +746,11 @@ packages: - '@2' xerces-c: require: - - cxxstd=20 + - cxxstd=23 xrootd: require: - '@5.7.0:' + # xrootd Spack recipe only supports up to cxxstd=20 at this point - cxxstd=20 -davix +python +scitokens-cpp xrootd-mcp-server: require: From ae7e0bf1d949e3a54fe933cae88ab1d8cc070318 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 11 Nov 2026 12:27:29 -0500 Subject: [PATCH 2/8] build(spack): cherry-pick celeritas cxxstd=23 and update eic-spack --- docs/spack-environment.md | 2 +- spack-environment/packages.yaml | 5 +++-- spack-packages.sh | 7 +++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/spack-environment.md b/docs/spack-environment.md index 82f117afc..83b30f9bf 100644 --- a/docs/spack-environment.md +++ b/docs/spack-environment.md @@ -62,7 +62,7 @@ packages: root: require: - '@6.40.04' - - cxxstd=23 +fftw +fortran +gdml +http +python +root7 +tmva + - cxxstd=23 +fftw +fortran +gdml +http -ipo +mlp +python +root7 +tmva +tmva-sofie +x +xrootd +ssl - any_of: [+opengl +webgui, -opengl -webgui] ``` diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 97bed6229..412c080a0 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -92,6 +92,7 @@ packages: celeritas: require: - '@0.7:' + - cxxstd=23 - +covfie +geant4 +hepmc3 +vecgeom - one_of: [~cuda +root, +cuda +ipo ~root] cernlib: @@ -152,8 +153,7 @@ packages: edm4eic: require: - '@8.11.0' # EDM4EIC_VERSION - # edm4eic Spack recipe only supports up to cxxstd=20 at this point - - cxxstd=20 + - cxxstd=23 edm4hep: require: - '@1.1' @@ -744,6 +744,7 @@ packages: vecgeom: require: - '@2' + - cxxstd=23 xerces-c: require: - cxxstd=23 diff --git a/spack-packages.sh b/spack-packages.sh index d486e4436..ce64ff25b 100644 --- a/spack-packages.sh +++ b/spack-packages.sh @@ -23,12 +23,16 @@ c322aa993ae106492bdb28333b56c5682a704027 cdde9c041f9c64ef893077a7637d3a297736d8dc 80fbeb0fc63775b3ea766acda51a9b779e8a008a 26c549b73602f7493cc7bcc142094cbfc7dbee93 +b3bdf0943883cbeba1f3c5babea834fd113007bc +8d5fa81819ae39f15ca044a0196431e2a26dce3f +98d17e1985a67eea97af58498bbad42642351d0c --- ## Optional hash table with comma-separated file list ## For these commits, the cherry-pick will be restricted to the listed files only. ## For all other commits, the cherry-pick will be applied without restriction (default). read -r -d '' SPACKPACKAGES_CHERRYPICKS_FILES <<- \ --- || true +[8d5fa81819ae39f15ca044a0196431e2a26dce3f]=repos/spack_repo/builtin/packages/celeritas/package.py --- ## Ref: https://github.com/spack/spack-packages/commit/[hash] ## [hash]: [description] @@ -43,3 +47,6 @@ read -r -d '' SPACKPACKAGES_CHERRYPICKS_FILES <<- \ ## cdde9c041f9c64ef893077a7637d3a297736d8dc: acts: add v47.0.0 through v48.3.0 ## 80fbeb0fc63775b3ea766acda51a9b779e8a008a: py-pip: add v26.2.1 ## 26c549b73602f7493cc7bcc142094cbfc7dbee93: py-pip: add v26.2.2 +## b3bdf0943883cbeba1f3c5babea834fd113007bc: cli11: new version 2.72, restore precompiled to true, remove redundant install +## 8d5fa81819ae39f15ca044a0196431e2a26dce3f: celeritas: add new variants, refactor packages, patch rocm +## 98d17e1985a67eea97af58498bbad42642351d0c: celeritas: add C++23 support and CUDA version conflicts From 2a6a479ea8e471da44e6fe3abc795aabf2bc4283 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 11 Nov 2026 16:29:36 -0500 Subject: [PATCH 3/8] build(spack): cherry-pick xrootd cxxstd=23 support and bump requirement --- spack-environment/packages.yaml | 5 ++--- spack-packages.sh | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 412c080a0..81c3a850a 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -750,9 +750,8 @@ packages: - cxxstd=23 xrootd: require: - - '@5.7.0:' - # xrootd Spack recipe only supports up to cxxstd=20 at this point - - cxxstd=20 -davix +python +scitokens-cpp + - '@6:' + - cxxstd=23 -davix +python +scitokens-cpp xrootd-mcp-server: require: - '@0.2.2:' diff --git a/spack-packages.sh b/spack-packages.sh index ce64ff25b..bda8c781f 100644 --- a/spack-packages.sh +++ b/spack-packages.sh @@ -26,6 +26,7 @@ cdde9c041f9c64ef893077a7637d3a297736d8dc b3bdf0943883cbeba1f3c5babea834fd113007bc 8d5fa81819ae39f15ca044a0196431e2a26dce3f 98d17e1985a67eea97af58498bbad42642351d0c +a16a9da0b03b4050b9a938c6a5909ffc9add4081 --- ## Optional hash table with comma-separated file list ## For these commits, the cherry-pick will be restricted to the listed files only. @@ -50,3 +51,4 @@ read -r -d '' SPACKPACKAGES_CHERRYPICKS_FILES <<- \ ## b3bdf0943883cbeba1f3c5babea834fd113007bc: cli11: new version 2.72, restore precompiled to true, remove redundant install ## 8d5fa81819ae39f15ca044a0196431e2a26dce3f: celeritas: add new variants, refactor packages, patch rocm ## 98d17e1985a67eea97af58498bbad42642351d0c: celeritas: add C++23 support and CUDA version conflicts +## a16a9da0b03b4050b9a938c6a5909ffc9add4081: xrootd: allow cxxstd=23 for v6 From a7c77e0bbc5ea57d79b310201d3f0e9d02481375 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Fri, 13 Nov 2026 14:19:15 -0500 Subject: [PATCH 4/8] build(spack): cherry-pick sherpa cxxstd=23 support and bump requirement --- spack-environment/packages.yaml | 3 +-- spack-packages.sh | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 81c3a850a..a06a676e1 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -681,8 +681,7 @@ packages: sherpa: require: - '@3.0.3' - # sherpa Spack recipe only supports up to cxxstd=20 at this point - - cxxstd=20 +analysis ~blackhat ~cms +gzip +hepmc3 +hepmc3root ~internal_pdfs +ipo +lhapdf +lhole +mpi +openloops +pythia +python ~recola +rivet +root ~ufo + - cxxstd=23 +analysis ~blackhat ~cms +gzip +hepmc3 +hepmc3root ~internal_pdfs +ipo +lhapdf +lhole +mpi +openloops +pythia +python ~recola +rivet +root ~ufo simphony: require: - '@0.7.0' diff --git a/spack-packages.sh b/spack-packages.sh index bda8c781f..e2d1740dc 100644 --- a/spack-packages.sh +++ b/spack-packages.sh @@ -27,6 +27,8 @@ b3bdf0943883cbeba1f3c5babea834fd113007bc 8d5fa81819ae39f15ca044a0196431e2a26dce3f 98d17e1985a67eea97af58498bbad42642351d0c a16a9da0b03b4050b9a938c6a5909ffc9add4081 +ef2f12ccc380be69b8533ae69a8d5a625ca72675 +540660f7c365ef3a568c7d6766da4992a211cfcb --- ## Optional hash table with comma-separated file list ## For these commits, the cherry-pick will be restricted to the listed files only. @@ -52,3 +54,5 @@ read -r -d '' SPACKPACKAGES_CHERRYPICKS_FILES <<- \ ## 8d5fa81819ae39f15ca044a0196431e2a26dce3f: celeritas: add new variants, refactor packages, patch rocm ## 98d17e1985a67eea97af58498bbad42642351d0c: celeritas: add C++23 support and CUDA version conflicts ## a16a9da0b03b4050b9a938c6a5909ffc9add4081: xrootd: allow cxxstd=23 for v6 +## ef2f12ccc380be69b8533ae69a8d5a625ca72675: sherpa: add v3.0.4, v3.0.5; limit swig +## 540660f7c365ef3a568c7d6766da4992a211cfcb: sherpa: support cxxstd=23; require mpi +fortran; conflicts %flang From 96cd5e71e394d3312bb411910da7e368d698283c Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sat, 14 Nov 2026 21:11:31 -0500 Subject: [PATCH 5/8] xrootd: rm ~davix which only exists for @:5 --- spack-environment/packages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index a06a676e1..4e07accca 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -750,7 +750,7 @@ packages: xrootd: require: - '@6:' - - cxxstd=23 -davix +python +scitokens-cpp + - cxxstd=23 +python +scitokens-cpp xrootd-mcp-server: require: - '@0.2.2:' From cb03b9ffb25d44b0544fe38c8f65e731eaedfad3 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 16 Nov 2026 19:39:07 -0500 Subject: [PATCH 6/8] fix: packages: catch2: required @3.5.0:+cxxstd=23 --- spack-environment/packages.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 6525a1f15..fa5c0fb21 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -87,7 +87,8 @@ packages: - +fc+ft+X+pdf+gobject build_system=meson catch2: require: - - '@3.4.0:' + - '@3.5.0:' + - cxxstd=23 - -ipo celeritas: require: From 3982f7bfe62b1cce8263e83ea6aeb4e537231138 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Tue, 17 Nov 2026 18:41:19 -0500 Subject: [PATCH 7/8] fix: packages: spdlog: cxxstd=20 --- spack-environment/packages.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index fa5c0fb21..d2639a6bf 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -716,6 +716,7 @@ packages: spdlog: require: - '@1.15.2:' + - cxxstd=20 stow: require: - '@2.3.1:' From 523014f7a29f105e8276b5de2d3a68e8c43917b2 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Tue, 17 Nov 2026 18:53:50 -0500 Subject: [PATCH 8/8] fix: spack cherry-pick: externals: use variant values allowed by the external version Added optional hash table for cherrypicked files in spack.sh. --- spack.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spack.sh b/spack.sh index 0dcd622bb..2b648deb0 100644 --- a/spack.sh +++ b/spack.sh @@ -13,13 +13,16 @@ read -r -d '' SPACK_CHERRYPICKS <<- \ 292b0dcaba3b2a5e3f9668d205d39fee2c715721 678e506a95b319c573ba7e84703b06d7275ab80e 0971885764f8d75ff838b4ab45f692a762888821 +0843dbce8d0182ba33e0d7ccf594260e6549adc4 --- ## Optional hash table with comma-separated file list read -r -d '' SPACK_CHERRYPICKS_FILES <<- \ --- || true +[0843dbce8d0182ba33e0d7ccf594260e6549adc4]=lib/spack/spack/solver/asp.py,lib/spack/spack/solver/concretize.lp --- ## Ref: https://github.com/spack/spack/commit/[hash] ## [hash]: [description] ## 292b0dcaba3b2a5e3f9668d205d39fee2c715721: fix: write created time field with OCI buildcache config ## 678e506a95b319c573ba7e84703b06d7275ab80e: fix: don't map prefix to view root for pkgs excluded from view ## 0971885764f8d75ff838b4ab45f692a762888821: lock.py: fall back to read-only open on EROFS +## 0843dbce8d0182ba33e0d7ccf594260e6549adc4: externals: use variant values allowed by the external version