mache.deploy.spack.capture_spack_activations
- mache.deploy.spack.capture_spack_activations(*, ctx: DeployContext, results: list[SpackDeployResult]) None[source]
Capture the activation of each deployed library environment.
This runs after the
post_spackhooks, so changes a hook makes to the environment (for example tomodules:prefix_inspections) are reflected. It writesactivate.shandactivate.cshinto each environment directory;SpackDeployResult.load_activationalready sources them. Nothing happens whenspack.activationisdynamic.