diff --git a/spack-environment/Makefile b/spack-environment/Makefile index 8f4dba4125f41e88733c651e7932e193e8a68475..6b6b66d9633ff82a9f05580fe1154380baa07850 100644 --- a/spack-environment/Makefile +++ b/spack-environment/Makefile @@ -7,7 +7,6 @@ export SPACK_COLOR = always SPACK_ENV ?= dev -BUILDCACHE_DIR := $(SPACK_ENV)/cache BUILDCACHE_MIRROR := .PHONY: all clean @@ -20,12 +19,10 @@ endif $(SPACK_ENV)/push: $(addprefix $(SPACK_ENV)/push/,$($(SPACK_ENV)/SPACK_PACKAGE_IDS)) @mkdir -p $(BUILDCACHE_DIR) - $(foreach buildcache, $(BUILDCACHE_DIR), $(SPACK) buildcache update-index --mirror-url $(buildcache) ;) $(foreach buildcache, $(BUILDCACHE_MIRROR), $(SPACK) buildcache update-index --mirror-url $(buildcache) ;) $(SPACK_ENV)/push/%: $(SPACK_ENV)/install/% @mkdir -p $(dir $@) - $(foreach buildcache, $(BUILDCACHE_DIR), $(SPACK) buildcache create --allow-root --only=package --unsigned --directory $(buildcache) /$(HASH) ;) # push $(SPEC) $(foreach buildcache, $(BUILDCACHE_MIRROR), $(SPACK) buildcache create --allow-root --only=package --unsigned --mirror-name $(buildcache) /$(HASH) ;) # push $(SPEC) @touch $@