summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/docs/binary_caches.rst7
-rw-r--r--lib/spack/spack/binary_distribution.py3
2 files changed, 7 insertions, 3 deletions
diff --git a/lib/spack/docs/binary_caches.rst b/lib/spack/docs/binary_caches.rst
index 33fc61a96a..7c41485df8 100644
--- a/lib/spack/docs/binary_caches.rst
+++ b/lib/spack/docs/binary_caches.rst
@@ -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
---------------------------------------
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py
index fb4c6ce472..a0b0e75b83 100644
--- a/lib/spack/spack/binary_distribution.py
+++ b/lib/spack/spack/binary_distribution.py
@@ -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(