Skip to content
Snippets Groups Projects
Commit 3f2f5c47 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: buildcache update-index --mirror-url argument only

parent cc7f4e6d
No related branches found
No related tags found
1 merge request!540feat: install environment and push to buildcache with Makefile
This commit is part of merge request !540. Comments created here will be created in the context of that merge request.
...@@ -20,8 +20,8 @@ endif ...@@ -20,8 +20,8 @@ endif
$(SPACK_ENV)/push: $(addprefix $(SPACK_ENV)/push/,$($(SPACK_ENV)/SPACK_PACKAGE_IDS)) $(SPACK_ENV)/push: $(addprefix $(SPACK_ENV)/push/,$($(SPACK_ENV)/SPACK_PACKAGE_IDS))
@mkdir -p $(BUILDCACHE_DIR) @mkdir -p $(BUILDCACHE_DIR)
$(foreach buildcache, $(BUILDCACHE_DIR), $(SPACK) buildcache update-index --directory $(buildcache) ;) $(foreach buildcache, $(BUILDCACHE_DIR), $(SPACK) buildcache update-index --mirror-url $(buildcache) ;)
$(foreach buildcache, $(BUILDCACHE_MIRROR), $(SPACK) buildcache update-index --mirror-name $(buildcache) ;) $(foreach buildcache, $(BUILDCACHE_MIRROR), $(SPACK) buildcache update-index --mirror-url $(buildcache) ;)
$(SPACK_ENV)/push/%: $(SPACK_ENV)/install/% $(SPACK_ENV)/push/%: $(SPACK_ENV)/install/%
@mkdir -p $(dir $@) @mkdir -p $(dir $@)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment