-
Notifications
You must be signed in to change notification settings - Fork 14
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
"Modify an ACCESS model's source code" doc needs an additional step in the spack develop
instructions
#873
Comments
We should also consider changing the instructions to use https://github.com/spack/spack/releases/tag/v0.22.0:
--fresh
--reuse-deps
|
Alternate SolutionWe could use This solution is requires the |
Description
The Mark package as a development package section needs an additional step.
When
spack develop
is called, e.g.spack develop <package>@git.<gitref>=<spack-version>
, the user must manually check the environment'sspack.yaml
file to see if there's an existing reference to the<package>
in thespecs
orpackages
section. If there is, then it must be commented out to allow the concretize step to succeed.Why
We start with environments/om2-develop/spack.yaml containing:
A new section has been added to environments/om2-develop/spack.yaml and it conflicts with the the
packages
section:Comment out the conflicting section in environments/om2-develop/spack.yaml:
Then the concretize step with
--fresh
or--reuse-deps
succeeds:The text was updated successfully, but these errors were encountered: