Conversation
|
so when using this patch on release-0.14.2, it seems to work but also cause a few warnings on the way, of the form Not sure what to make of this, is that because there are some other changes I'm missing on 0.14.2? |
|
Another thing I've noticed that the documentation on spack build caches here: So there may be some duplication here, and I wonder if adding one 'hardcoded' to spack and mentioning the other in the documentation might be confusing? Interestingly, when using this mirror I'm also getting curl failure warnings: so this seems to be a problem with using mirrors in 0.14.2 in general. |
|
Regarding #17077 (comment): those messages are about missing files for binary caches, this particular mirror only stores source archives vs. archives of packages built by Spack (mirrors can store both). |
Wuhu! Does this include pulled patches from URLs? Got quite some downtimes in those recently for fundamental packages. |
|
Hi @scheibelp, is there a way to disable the fetching on spack-public by default? I tried to do |
|
@victorapm: The public mirror is a spack default the way we did it here: $ spack config blame mirrors
--- mirrors:
/Users/gamblin2/src/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/at the moment you need to edit mirrors:: {}The We usually assume that users won't edit the defaults but maybe we need a way to get rid of the mirror. Question: why do you want to? |
|
Thanks, @tgamblin! In Hypre, we have a regression test that builds it through spack and redirects error messages to a file. The test fails if the error file is not empty. After this merge, I believe, we started to see Do you think this fix is reasonable? Thanks for the help! |
|
@victorapm: Thanks! I think the fix is reasonable. I suspect you will not need to add it soon -- the first curl failure will go away once @scheibelp rebuilds the mirror to be indexed by sha256 archive names (it's currently indexed by the older human-readable archive name, which is not fetched first by Spack). |
@ax3l yes it does |
Fixes #7121
We have created a mirror storing the latest (as of now) version of each package in Spack. Note that this only stores archives which are stable (i.e. have an unchanging checksum - which means that e.g. Git commits are not included).