Add scripts to download cargo dependencies and store in local cargo registry for offline installation#1618
Merged
climbfuji merged 30 commits intoJCSDA:developfrom Apr 30, 2025
Conversation
…ests.yaml: use actions/checkout@v4 and ubuntu-latest instead of ubuntu-20.04
…xt/lib/jcsda-emc/spack-stack/stack/stack_env.py: spack.config.merge_yaml --> spack.schema.merge_yaml
…v/package.py and spack-ext/repos/spack-stack/packages/gmao-swell-env/package.py
…yaml and update spack-ext/lib/jcsda-emc/spack-stack/stack/meta_modules.py accordingly
…eature/update_spack_stack_dev_from_spack_a9c879d
…r Ubuntu except with GNU, update Python and OpenMPI versions
…kages_oneapi.yaml and configs/sites/tier1/narwhal/packages_oneapi.yaml
…ttps://github.com/climbfuji/spack-stack into feature/update_spack_stack_dev_from_spack_a9c879d
…ith gobject-introspection
…eature/update_spack_stack_dev_from_spack_a9c879d
…/nrl/batch_install.sh to automatically update and use local rust/cargo registry
ulmononian
approved these changes
Apr 28, 2025
stiggy87
approved these changes
Apr 28, 2025
Collaborator
Author
|
The macOS binary cache is currently being rebuilt. Once that's done, I'll update this PR from develop and hopefully the macOS tests will pass, too. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds scripts to fetch cargo dependencies into a local registry for cached or offline installation, and for downloading and installing
rust/cargoif necessary. Credits to @AlexanderRichert-NOAA for the initial version of the fetch-cargo logic.The new logic is also incorporated in the utility
utils/nrl/batch_install.shto demonstrate how they fit into the sequence of steps.Testing
Tested locally on my dev box and on Blueback with
utils/nrl/batch_install.sh.Applications affected
None
Systems affected
None
Dependencies
None
Issue(s) addressed
Working towards #1597
Checklist
All dependency PRs/issues have been resolved and this PR can be merged.