binary cache docs: remove redundant flag and comment (#38960)
This commit is contained in:
parent
515b53ac50
commit
3fef586cfb
1 changed files with 1 additions and 5 deletions
|
@ -48,15 +48,11 @@ Here is an example where a build cache is created in a local directory named
|
||||||
|
|
||||||
.. code-block:: console
|
.. 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
|
==> Pushing binary packages to file:///home/spackuser/spack/spack-cache/build_cache
|
||||||
|
|
||||||
Not that ``ninja`` must be installed locally for this to work.
|
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.
|
Once you have a build cache, you can add it as a mirror, discussed next.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue