Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates required for creating binary (build) caches #231

Merged
merged 5 commits into from
Feb 25, 2023

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Feb 24, 2023

Description

These updates are required for creating build caches for all packages in an environment by skipping packages with errors instead of aborting, which is what spack does at the moment. I created a corresponding issue and PR in the upstream spack repo: spack#35602 and spack#35601.

Note that the changes differ slightly from this PR due to the updates that went into spack develop in these files. I will take care of resolving the conflicts when we bring these changes down to our fork).

Testing

Tested successfully on my macOS. See JCSDA/spack-stack#484 for the corresponding spack-stack PR.

@climbfuji
Copy link
Collaborator Author

The CI test failure doesn't look like it is related to this PR (https://github.com/NOAA-EMC/spack/actions/runs/4263344812/jobs/7419969492):

FAILED lib/spack/spack/test/llnl/util/lock.py::test_write_lock_timeout_on_write[/run/user/1001] - assert False

I think this PR is ready to go!

@climbfuji
Copy link
Collaborator Author

The CI test failure doesn't look like it is related to this PR (https://github.com/NOAA-EMC/spack/actions/runs/4263344812/jobs/7419969492):

FAILED lib/spack/spack/test/llnl/util/lock.py::test_write_lock_timeout_on_write[/run/user/1001] - assert False

I think this PR is ready to go!

Ah, and rerunning it fixed it :-)

Copy link
Collaborator

@srherbener srherbener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't test but changes look good to me.

Copy link
Collaborator

@ulmononian ulmononian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be very nice to have this improved build cache feature. approved.

@climbfuji climbfuji merged commit c5a3c25 into JCSDA:jcsda_emc_spack_stack Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INFRA JEDI Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants