Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

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

Merged
merged 3 commits into from
Apr 15, 2024
Merged

Conversation

j-ogas
Copy link
Contributor

@j-ogas j-ogas commented Mar 26, 2024

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 Add fuse include path for charliecloud+squashfuse spack/spack#43374. This effectively resolves Spack build of [email protected]+squashfuse fails to find ll.h #1847.

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

@j-ogas
Copy link
Contributor Author

j-ogas commented Mar 26, 2024

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

@j-ogas j-ogas requested a review from reidpr March 26, 2024 19:31
@reidpr reidpr added this to the 0.38 milestone Mar 26, 2024
@reidpr
Copy link
Collaborator

reidpr commented Mar 27, 2024

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

@reidpr reidpr changed the title Update Spack example. Spack example: use external packages.yaml, add patch Apr 15, 2024
@reidpr reidpr merged commit 759da04 into master Apr 15, 2024
6 checks passed
@reidpr reidpr deleted the spack-harder branch April 15, 2024 17:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spack build of [email protected]+squashfuse fails to find ll.h
2 participants