diff --git a/spack-environment/concretizer.yaml b/spack-environment/concretizer.yaml index fa85803e3f45d62a08623531a57198af6b6699d7..4ab702c86ce196ee937e946c51d8a23b2a903289 100644 --- a/spack-environment/concretizer.yaml +++ b/spack-environment/concretizer.yaml @@ -1,2 +1,8 @@ -concretizer: +# This file contains the preferences for the concretizer +# - we disable reuse of build cache products during concretization +# (but build cache products will get used if available during install) +# - we want unified environments that can be installed in a simple view +# +concretizer: + reuse: false unify: true diff --git a/spack-environment/dev/spack.yaml b/spack-environment/dev/spack.yaml index b80e2dc2b2884f621f0103628534322910975135..56b17cb041ddbfee40d9eca3e861a3b936264052 100644 --- a/spack-environment/dev/spack.yaml +++ b/spack-environment/dev/spack.yaml @@ -3,85 +3,76 @@ spack: - ../concretizer.yaml - ../packages.yaml specs: - - acts@21.1.1 +dd4hep +examples +fatras +geant4 +identification +json +python +tgeo - - actsvg@0.4.26 +examples - - acts-dd4hep@1.0.1 - - afterburner@0.1.2 +root +zlib - - cairo@1.16.0 +fc+ft+X+pdf+gobject - - catch2@3.0.1 -ipo - - cernlib@2022.11.08.0-free - - clhep@2.4.6.4 cxxstd=17 - - cli11@2.3.2 - - cmake@3.26.3 - - cnpy@master - #- cppcoro@git.10bbcdbf2be3ad3aa56febcf4c7662d771460a99 - - dawn@3_91a - - dawncut@1_54a - - dd4hep@1.25.1 +ddg4 +ddcad -frames +hepmc3 +lcio +xercesc - - dpmjet@19.3.5 - - edm4eic@2.0.0 cxxstd=17 - - edm4hep@0.7.2 cxxstd=17 - - eic-smear@1.1.10 - - eigen@3.4.0 - - emacs@28.2 - - fastjet@3.4.0 - - fjcontrib@1.051 - - fmt@9.1.0 +shared cxxstd=17 - - gaudi@36.10 +aida - - gdb@12.1 -debuginfod - - geant4@11.1.1 cxxstd=17 +opengl -vecgeom +x11 +qt +threads - - graphviz@8.0.1 - - hepmc3@3.2.6 +python +rootio - - heppdt@2.06.01 - - imagemagick@7.0.8-7 - - intel-tbb@2020.3 - - irt@1.0.6 - - jana2@2.1.0 -ipo +podio +root +zmq - - lcov@1.16 - - lhapdf@6.5.1 +python - - madx@5.08.01 - - mesa@22.1.6 +glx -llvm +opengl +opengles +osmesa - - nlohmann-json@3.11.2 - - npsim@1.1.0 +geocad +http - - onnx@1.13.1 - - opencascade@7.7.1 - - osg-ca-certs@1.109.igtf.1.117 - - phonebook-cli@1.0.0 - - podio@0.16.5 - - prmon@3.0.2 +plot - - pythia8@8.309 +fastjet - - python@3.10.10 - - py-awkward@2.1.1 - - py-boto3@1.26.26 - - py-dask@2021.6.2 - - py-deepdiff@6.3.0 - - py-ipython@8.11.0 - - py-jinja2@3.1.2 - - py-jinja2-cli@0.8.2 - - py-jupyter-console@6.4.4 - - py-jupyterlab@3.4.8 - - py-lmfit@1.0.2 - - py-lxml@4.9.1 - - py-matplotlib@3.7.1 - - py-mplhep@0.3.26 - - py-htgettoken@1.16-33-g3788bb4 - - py-numpy@1.23.4 - - py-pandas@1.5.3 - - py-pip@23.0 - - py-pre-commit@2.20.0 - - py-pycairo@1.20.0 - - py-pyyaml@6.0 - - py-scipy@1.10.1 - - py-seaborn@0.12.2 - - py-toml@0.10.2 - - py-uproot@5.0.5 - - py-yapf@0.30.0 - - qt@5.15.9 +opengl - - root@6.26.10 cxxstd=17 - +fftw +fortran +gdml +http -ipo +mlp +pythia8 - +root7 +tmva +vc -webgui +xrootd +ssl - - spdlog@1.11.0 +fmt_external - - stow@2.3.1 - - tensorflow-lite@2.8.0 -xnnpack - - xrootd@5.5.5 cxxstd=17 -davix +python +scitokens-cpp + - acts + - actsvg + - acts-dd4hep + - afterburner + - cairo + - catch2 + - cernlib + - cli11 + - cmake + - cnpy + #- cppcoro + - dawn + - dawncut + - dd4hep + - dpmjet + - edm4eic + - edm4hep + - eic-smear + - eigen + - emacs + - fastjet + - fjcontrib + - fmt + - gaudi + - gdb + - geant4 + - graphviz + - hepmc3 + - heppdt + - imagemagick + - irt + - jana2 + - lcov + - lhapdf + - madx + - npsim + - onnx + - opencascade + - osg-ca-certs + - phonebook-cli + - prmon + - pythia8 + - py-awkward + - py-boto3 + - py-dask + - py-deepdiff + - py-ipython + - py-jinja2 + - py-jinja2-cli + - py-jupyter-console + - py-jupyterlab + - py-lmfit + - py-lxml + - py-matplotlib + - py-mplhep + - py-htgettoken + - py-numpy + - py-pandas + - py-pip + - py-pre-commit + - py-pycairo + - py-pyyaml + - py-scipy + - py-seaborn + - py-toml + - py-uproot + - py-yapf + - root + - spdlog + - stow + - tensorflow-lite + - xrootd view: false diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index a32c7bba9ee1ecb2adf465b464f2ff9e49eb67e0..79e0c6a5e4907eca17198f1876e160f88469d897 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -1,5 +1,279 @@ +# This file contains the preferences for versions and variants. +# Note that spack can deviate from these preferences for various reasons: +# - if explicitly requested in spack.yaml +# - if required to satisfy explicit requests +# - if reuse == true and build caches contain other versions/variants +# (this is disabled by concretize:reuse:false in concretizer.yaml) +# +# The variants in packages:all:variants are overridden by package-specific +# variants. Therefore, we use the pattern require:any_of:[+variant,@:] +# which sets the variant or doesn't do anything if not supported. +# packages: all: compiler: [gcc] - variants: - +ipo build_type=Release + require: + - any_of: [+ipo, '@:'] + - any_of: [build_type=Release, '@:'] + acts: + require: + - '@21.1.1' + - +dd4hep +examples +fatras +geant4 +identification +json +python +tgeo + actsvg: + require: + - '@0.4.26' + - +examples + acts-dd4hep: + require: + - '@1.0.1' + afterburner: + require: + - '@0.1.2' + - +root +zlib + cairo: + require: + - '@1.16.0' + - +fc+ft+X+pdf+gobject + catch2: + require: + - '@3.0.1' + - -ipo + cernlib: + require: + - '@2022.11.08.0-free' + clhep: + require: + - '@2.4.6.4' + - cxxstd=17 + cli11: + require: + - '@2.3.2' + cmake: + require: + - '@3.26.3' + cnpy: + require: + - '@master' + cppcoro: + require: + - '@git.10bbcdbf2be3ad3aa56febcf4c7662d771460a99' + dawn: + require: + - '@3_91a' + dawncut: + require: + - '@1_54a' + dd4hep: + require: + - '@1.25.1' + - +ddg4 +ddcad -frames +hepmc3 +lcio +xercesc + dpmjet: + require: + - '@19.3.5' + edm4eic: + require: + - '@2.0.0' + - cxxstd=17 + edm4hep: + require: + - '@0.7.2' + - cxxstd=17 + eic-smear: + require: + - '@1.1.10' + eigen: + require: + - '@3.4.0' + emacs: + require: + - '@28.2' + fastjet: + require: + - '@3.4.0' + fjcontrib: + require: + - '@1.051' + fmt: + require: + - '@9.1.0' + - +shared cxxstd=17 + gaudi: + require: + - '@36.10' + - +aida + gdb: + require: + - '@12.1' + - -debuginfod + geant4: + require: + - '@11.1.1' + - cxxstd=17 +opengl -vecgeom +x11 +qt +threads + graphviz: + require: + - '@8.0.1' + hepmc3: + require: + - '@3.2.6' + - +python +rootio + heppdt: + require: + - '@2.06.01' + imagemagick: + require: + - '@7.0.8-7' + intel-tbb: + require: + - '@2020.3' + irt: + require: + - '@1.0.6' + jana2: + require: + - '@2.1.0' + - -ipo +podio +root +zmq + lcov: + require: + - '@1.16' + lhapdf: + require: + - '@6.5.1' + - +python + madx: + require: + - '@5.08.01' + mesa: + require: + - '@22.1.6' + - +glx -llvm +opengl +opengles +osmesa + nlohmann-json: + require: + - '@3.11.2' + npsim: + require: + - '@1.1.0' + - +geocad +http + onnx: + require: + - '@1.13.1' + opencascade: + require: + - '@7.7.1' + osg-ca-certs: + require: + - '@1.109.igtf.1.117' + phonebook-cli: + require: + - '@1.0.0' + podio: + require: + - '@0.16.5' + prmon: + require: + - '@3.0.2' + - +plot + pythia8: + require: + - '@8.309' + - +fastjet + python: + require: + - '@3.10.10' + py-awkward: + require: + - '@2.1.1' + py-boto3: + require: + - '@1.26.26' + py-dask: + require: + - '@2021.6.2' + py-deepdiff: + require: + - '@6.3.0' + py-ipython: + require: + - '@8.11.0' + py-jinja2: + require: + - '@3.1.2' + py-jinja2-cli: + require: + - '@0.8.2' + py-jupyter-console: + require: + - '@6.4.4' + py-jupyterlab: + require: + - '@3.4.8' + py-lmfit: + require: + - '@1.0.2' + py-lxml: + require: + - '@4.9.1' + py-matplotlib: + require: + - '@3.7.1' + py-mplhep: + require: + - '@0.3.26' + py-htgettoken: + require: + - '@1.16-33-g3788bb4' + py-numpy: + require: + - '@1.23.4' + py-pandas: + require: + - '@1.5.3' + py-pip: + require: + - '@23.0' + py-pre-commit: + require: + - '@2.20.0' + py-pycairo: + require: + - '@1.20.0' + py-pyyaml: + require: + - '@6.0' + py-scipy: + require: + - '@1.10.1' + py-seaborn: + require: + - '@0.12.2' + py-toml: + require: + - '@0.10.2' + py-uproot: + require: + - '@5.0.5' + py-yapf: + require: + - '@0.30.0' + qt: + require: + - '@5.15.9' + - +opengl + root: + require: + - '@6.26.10' + - cxxstd=17 +fftw +fortran +gdml +http -ipo +mlp +pythia8 +root7 +tmva +vc -webgui +xrootd +ssl + spdlog: + require: + - '@1.11.0' + - +fmt_external + stow: + require: + - '@2.3.1' + tensorflow-lite: + require: + - '@2.8.0' + - -xnnpack + xrootd: + require: + - '@5.5.5' + - cxxstd=17 -davix +python +scitokens-cpp diff --git a/spack.sh b/spack.sh index a5b29f5246fe0b167f7a48ed6dfe0cc20dc04ab2..e1f85c1f52264f4d58a01a5cf470ad91bc6300fd 100644 --- a/spack.sh +++ b/spack.sh @@ -11,9 +11,11 @@ read -r -d '' SPACK_CHERRYPICKS <<- \ 9ee2d79de172de14477a78e5d407548a63eea33a 776ab132760d63eab0703b7c0ebebc72a8443f5b 188168c476eabe99764634db8d78eb3f9ea2a927 +b3268c2703b84f4e4961c1e2cdf43e8998f283e6 --- ## Ref: https://github.com/spack/spack/commit/[hash] ## [hash]: [description] ## 9ee2d79de172de14477a78e5d407548a63eea33a: libxpm package: fix RHEL8 build with libintl ## 776ab132760d63eab0703b7c0ebebc72a8443f5b: [xrootd] New variants, new version, improve build config ## 188168c476eabe99764634db8d78eb3f9ea2a927: podio: Add 0.16.5 tag +## b3268c2703b84f4e4961c1e2cdf43e8998f283e6: freetype: add pic and shared variants