summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-07-18 22:38:04 +0200
committerGitHub <noreply@github.com>2023-07-18 22:38:04 +0200
commit3fef586cfb900329a4e10a3ed909e8a8316f6fe6 (patch)
tree0c8008b0c8a43816caa35d37baa417876ad15e34 /lib
parent515b53ac50baa7be9dab3849dba430d49d1196fa (diff)
downloadspack-3fef586cfb900329a4e10a3ed909e8a8316f6fe6.tar.gz
spack-3fef586cfb900329a4e10a3ed909e8a8316f6fe6.tar.bz2
spack-3fef586cfb900329a4e10a3ed909e8a8316f6fe6.tar.xz
spack-3fef586cfb900329a4e10a3ed909e8a8316f6fe6.zip
binary cache docs: remove redundant flag and comment (#38960)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/binary_caches.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/docs/binary_caches.rst b/lib/spack/docs/binary_caches.rst
index 61cf53cafa..3c8d68a5d2 100644
--- a/lib/spack/docs/binary_caches.rst
+++ b/lib/spack/docs/binary_caches.rst
@@ -48,15 +48,11 @@ Here is an example where a build cache is created in a local directory named
.. code-block:: console
- $ spack buildcache push --allow-root ./spack-cache ninja
+ $ spack buildcache push ./spack-cache ninja
==> Pushing binary packages to file:///home/spackuser/spack/spack-cache/build_cache
Not that ``ninja`` must be installed locally for this to work.
-We're using the ``--allow-root`` flag to tell Spack that is OK when any of
-the binaries we're pushing contain references to the local Spack install
-directory.
-
Once you have a build cache, you can add it as a mirror, discussed next.
---------------------------------------