diff options
Diffstat (limited to 'lib/spack/docs/binary_caches.rst')
-rw-r--r-- | lib/spack/docs/binary_caches.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/docs/binary_caches.rst b/lib/spack/docs/binary_caches.rst index 47f062595c..61cf53cafa 100644 --- a/lib/spack/docs/binary_caches.rst +++ b/lib/spack/docs/binary_caches.rst @@ -36,7 +36,7 @@ Build caches are created via: .. code-block:: console - $ spack buildcache create <path/url/mirror name> <spec> + $ spack buildcache push <path/url/mirror name> <spec> This command takes the locally installed spec and its dependencies, and creates tarballs of their install prefixes. It also generates metadata files, @@ -48,7 +48,7 @@ Here is an example where a build cache is created in a local directory named .. code-block:: console - $ spack buildcache create --allow-root ./spack-cache ninja + $ spack buildcache push --allow-root ./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. @@ -177,7 +177,7 @@ need to be adjusted for better re-locatability. -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -``spack buildcache create`` +``spack buildcache push`` ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Create tarball of installed Spack package and all dependencies. |