Skip to content

Commit

Permalink
Ensure all archives are retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Aug 3, 2023
1 parent 93f47ec commit 7538664
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ New option/command/subcommand are prefixed with ◈.
## Build

## Infrastructure
*
* Ensure the full archive includes the 0install sources [#5624 @dra27]

## Admin
*
Expand Down
11 changes: 8 additions & 3 deletions src_ext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ endef

SRC_EXTS = cppo base64 extlib re cmdliner ocamlgraph cudf dose3 opam-file-format result seq stdlib-shims
PKG_EXTS = $(SRC_EXTS) dune-local findlib ocamlbuild topkg mccs
ALL_EXTS = $(SRC_EXTS) $(PKG_EXTS) ocaml flexdll

MCCS_SRCS = mccs
ALL_EXTS += $(MCCS_SRCS)
ifeq ($(MCCS_ENABLED),true)
SRC_EXTS := $(SRC_EXTS) mccs
SRC_EXTS += mccs
endif

0INSTALL_SRCS = opam-0install-cudf 0install-solver
ALL_EXTS += $(0INSTALL_SRCS)
ifeq ($(OPAM_0INSTALL_SOLVER_ENABLED),true)
SRC_EXTS := $(SRC_EXTS) opam-0install-cudf 0install-solver
SRC_EXTS += opam-0install-cudf 0install-solver
endif

include Makefile.sources
Expand Down Expand Up @@ -141,7 +146,7 @@ archives: $(SRC_EXTS:=.download)
archives-pkg: $(PKG_EXTS:=.pkgdownload)
@

cache-archives: $(SRC_EXTS:=.cache) $(PKG_EXTS:=.pkgcache) ocaml.cache flexdll.cache
cache-archives: $(ALL_EXTS:=.cache) $(ALL_EXTS:=.pkgcache)
@

has-archives: $(addprefix archives/, $(notdir $(URL_ocaml)) $(notdir $(URL_flexdll)) $(ARCHIVES) $(filter-out $(ARCHIVES), $(foreach pkg,$(PKG_EXTS), $(notdir $(URL_PKG_$(pkg))))))
Expand Down

0 comments on commit 7538664

Please sign in to comment.