hpc / charliecloud

Now hosted on GitLab.
https://gitlab.com/charliecloud/main
Apache License 2.0
313 stars 61 forks source link

Spack example: use external `packages.yaml`, add patch #1883

Closed j-ogas closed 5 months ago

j-ogas commented 6 months ago

This PR adds a number of changes.

  1. add packages.yaml; tell spack to make use of external (container supplied) packages, including libfuse for +squashfuse1 variant.
  2. use spack envrionments to make use of the parallel building feature.
  3. add libfuse.patch, see https://github.com/spack/spack/pull/43374. This effectively resolves https://github.com/hpc/charliecloud/issues/1847.

This makes the Spack example take 4 minutes and 40 seconds from start to finish, with --no-cache.

j-ogas commented 6 months ago

Since it now takes under 5 minutes we could change the scope to standard.

reidpr commented 6 months ago

If we build against Spack develop we would catch problems much faster.