From 1325eba966f56b0795d972cabd6e0dc830b1c389 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Thu, 3 Oct 2024 18:25:06 +0200 Subject: [PATCH] Add a folder with common configuration for Key4hep releases --- .../key4hep-release-share/config.yaml | 5 ++ .../key4hep-release-share/packages.yaml | 56 +++++++++++++++++++ environments/key4hep-release-share/spack.yaml | 12 ++++ 3 files changed, 73 insertions(+) create mode 100644 environments/key4hep-release-share/config.yaml create mode 100644 environments/key4hep-release-share/packages.yaml create mode 100644 environments/key4hep-release-share/spack.yaml diff --git a/environments/key4hep-release-share/config.yaml b/environments/key4hep-release-share/config.yaml new file mode 100644 index 00000000..7a9a2775 --- /dev/null +++ b/environments/key4hep-release-share/config.yaml @@ -0,0 +1,5 @@ +config: + install_tree: + projections: + all: "{name}/{version}" + root: /cvmfs/sw.hsf.org/key4hep/share diff --git a/environments/key4hep-release-share/packages.yaml b/environments/key4hep-release-share/packages.yaml new file mode 100644 index 00000000..d8faeda1 --- /dev/null +++ b/environments/key4hep-release-share/packages.yaml @@ -0,0 +1,56 @@ +packages: + g4ndl: + externals: + - spec: "g4ndl@4.7.1" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4ndl/4.7.1 + buildable: False + g4emlow: + externals: + - spec: "g4emlow@8.5" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4emlow/8.5 + buildable: False + g4photonevaporation: + externals: + - spec: "g4photonevaporation@5.7" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4photonevaporation/5.7 + buildable: False + g4radioactivedecay: + externals: + - spec: "g4radioactivedecay@5.6" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4radioactivedecay/5.6 + buildable: False + g4particlexs: + externals: + - spec: "g4particlexs@4.0" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4particlexs/4.0 + buildable: False + g4pii: + externals: + - spec: "g4pii@1.3" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4pii/1.3 + buildable: False + g4realsurface: + externals: + - spec: "g4realsurface@2.2" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4realsurface/2.2 + buildable: False + g4saiddata: + externals: + - spec: "g4saiddata@2.0" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4saiddata/2.0 + buildable: False + g4abla: + externals: + - spec: "g4abla@3.3" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4abla/3.3 + buildable: False + g4incl: + externals: + - spec: "g4incl@1.2" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4incl/1.2 + buildable: False + g4ensdfstate: + externals: + - spec: "g4ensdfstate@2.3" + prefix: /cvmfs/sw.hsf.org/key4hep/share/g4ensdfstate/2.3 + buildable: False diff --git a/environments/key4hep-release-share/spack.yaml b/environments/key4hep-release-share/spack.yaml new file mode 100644 index 00000000..78ad32dd --- /dev/null +++ b/environments/key4hep-release-share/spack.yaml @@ -0,0 +1,12 @@ +spack: + view: false + include: + - ./config.yaml + # Put packages before the common packages so that it doesn't get overwritten + # See https://github.com/spack/spack/blob/master/lib/spack/docs/environments.rst?plain=1#L528 + - ../key4hep-common/packages.yaml + - ../key4hep-common/compilers.yaml + repos: + - ../.. + specs: + - geant4-data@11.2.2