diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-06-12 14:33:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 14:33:26 +0200 |
commit | da45073ef9a5abea361136a173c32c4d00659909 (patch) | |
tree | 951b580078089dddbb850d6ca1c74bccfdc85c95 /lib/spack/docs/environments.rst | |
parent | 61e17fb36da24577190407b8ccd5e460cafef89d (diff) | |
download | spack-da45073ef9a5abea361136a173c32c4d00659909.tar.gz spack-da45073ef9a5abea361136a173c32c4d00659909.tar.bz2 spack-da45073ef9a5abea361136a173c32c4d00659909.tar.xz spack-da45073ef9a5abea361136a173c32c4d00659909.zip |
buildcache: remove deprecated api (#37246)
The API was deprecated in v0.20 and is slated for removal in v0.21
Diffstat (limited to 'lib/spack/docs/environments.rst')
-rw-r--r-- | lib/spack/docs/environments.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst index 74831073ed..73da7059cb 100644 --- a/lib/spack/docs/environments.rst +++ b/lib/spack/docs/environments.rst @@ -1132,11 +1132,11 @@ index once every package is pushed. Note how this target uses the generated example/push/%: example/install/% @mkdir -p $(dir $@) $(info About to push $(SPEC) to a buildcache) - $(SPACK) -e . buildcache create --allow-root --only=package --directory $(BUILDCACHE_DIR) /$(HASH) + $(SPACK) -e . buildcache push --allow-root --only=package $(BUILDCACHE_DIR) /$(HASH) @touch $@ push: $(addprefix example/push/,$(example/SPACK_PACKAGE_IDS)) $(info Updating the buildcache index) - $(SPACK) -e . buildcache update-index --directory $(BUILDCACHE_DIR) + $(SPACK) -e . buildcache update-index $(BUILDCACHE_DIR) $(info Done!) @touch $@ |