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

Buildcache: Catch warning from visit(root) in full_hash() call tree to allow completion of .spack file when using relative rpath option. #13265

Closed
wants to merge 1 commit into from

Conversation

gartung
Copy link
Member

@gartung gartung commented Oct 18, 2019

A warning prevents the completion of building a .spack file when the relative rpaths option is used.
See #13237 for details

The warning comes during this call

My solution is to put a try except statement around it the catch the warning so it does not propagate higher and prevent the yaml file needed for the .spack file from being created.

@gartung gartung changed the title Buildcache: When created with relative rpaths skip full_hash() call. Buildcache: Catch warning from visit(root) in full_hash() call tree to allow completion of .spack file when using relative rpath option. Oct 18, 2019
…all does not catch it and bail on creating the yaml file needed to create the .spack file.
@gartung gartung force-pushed the gartung-buildcache-relative-rpath-fix branch from 0a9ea46 to e428213 Compare October 19, 2019 14:20
@gartung
Copy link
Member Author

gartung commented Oct 22, 2019

@tgamblin Can I merge this?

@eugeneswalker
Copy link
Contributor

Looking forward to this making it in! I will immediately be able to use this to cache some important + large packages.

@gartung
Copy link
Member Author

gartung commented Oct 24, 2019

@tgamblin can this be merged?

@scheibelp scheibelp self-assigned this Nov 4, 2019
@gartung gartung closed this Nov 12, 2019
@gartung gartung deleted the gartung-buildcache-relative-rpath-fix branch November 12, 2019 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants