MuonColliderSoft / MuonCollider-docker

Docker files for Muon Collider software
Apache License 2.0
2 stars 2 forks source link

Update build instructions based on the v2.9 release series #10

Closed kkrizka closed 3 months ago

kkrizka commented 3 months ago

The following changes were made:

The gitlab-registry.cern.ch/key4hep/k4-deploy/alma9-build image is used as base. There are two images generated:

The images are now based on the spack package distribution system using packages from the key4hep-spack and mucoll-spack repositories. The exact tested commits for each repository and spack itself are specified.

The version of spack is taken from key4hep-spack's .latest-commit file. That way we use an externally tested version.

Any patches to spack to fix packages broken outside of their control (ie: download links) are applied using a new apply_patches.sh script for both key4hep-spack and mucoll-spack. This script checks that the corresponding spack version is cloned (via .latest-commit) and runs the .cherry-pick script.

The desired spack environment is named sim and copied from mucoll-spack/tree/release/environments/mucoll-release.

The following setup scripts are available. This corresponds to the setup sued for the CERN 2023 tutorial.

madbaron commented 3 months ago

All looks good!