Remove the warning that Spack prints at each spec (#30872)
Add instead a warning box in the documentation
This commit is contained in:
parent
85e13260cf
commit
0636fdbfef
2 changed files with 7 additions and 3 deletions
|
@ -50,6 +50,13 @@ build cache files for the "ninja" spec:
|
|||
Note that the targeted spec must already be installed. Once you have a build cache,
|
||||
you can add it as a mirror, discussed next.
|
||||
|
||||
.. warning::
|
||||
|
||||
Spack improved the format used for binary caches in v0.18. The entire v0.18 series
|
||||
will be able to verify and install binary caches both in the new and in the old format.
|
||||
Support for using the old format is expected to end in v0.19, so we advise users to
|
||||
recreate relevant buildcaches using Spack v0.18 or higher.
|
||||
|
||||
---------------------------------------
|
||||
Finding or installing build cache files
|
||||
---------------------------------------
|
||||
|
|
|
@ -1600,9 +1600,6 @@ def extract_tarball(spec, download_result, allow_root=False, unsigned=False,
|
|||
# Handle the older buildcache layout where the .spack file
|
||||
# contains a spec json/yaml, maybe an .asc file (signature),
|
||||
# and another tarball containing the actual install tree.
|
||||
tty.warn("This binary package uses a deprecated layout, "
|
||||
"and support for it will eventually be removed "
|
||||
"from spack.")
|
||||
tmpdir = tempfile.mkdtemp()
|
||||
try:
|
||||
tarfile_path = _extract_inner_tarball(
|
||||
|
|
Loading…
Reference in a new issue