Skip to content

Commit

Permalink
Merge pull request #3887 from dra27/dune-1.6.3
Browse files Browse the repository at this point in the history
Bump src_ext Dune to 1.6.3
  • Loading branch information
AltGr authored Jun 27, 2019
2 parents 0239976 + 8eaf0e8 commit a3b255a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ all: opam opam-installer
@

ifeq ($(DUNE),)
DUNE_EXE = src_ext/dune-local/_build/install/default/bin/dune$(EXE)
DUNE_EXE = src_ext/dune-local/_build_bootstrap/install/default/bin/dune$(EXE)
ifeq ($(shell command -v cygpath 2>/dev/null),)
DUNE := $(DUNE_EXE)
else
Expand All @@ -26,7 +26,7 @@ JBUILDER_ARGS ?=
DUNE_ARGS ?= $(JBUILDER_ARGS)
DUNE_PROFILE ?= release

src_ext/dune-local/_build/install/default/bin/dune$(EXE): src_ext/dune-local.stamp
src_ext/dune-local/_build_bootstrap/install/default/bin/dune$(EXE): src_ext/dune-local.stamp
cd src_ext/dune-local && ocaml bootstrap.ml && ./boot.exe --release

src_ext/dune-local.stamp:
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include ../Makefile.config

ifeq ($(DUNE),)
DUNE_EXE = ../src_ext/dune-local/_build/install/default/bin/dune$(EXE)
DUNE_EXE = ../src_ext/dune-local/_build_bootstrap/install/default/bin/dune$(EXE)
ifeq ($(shell command -v cygpath 2>/dev/null),)
DUNE := $(DUNE_EXE)
else
Expand Down
4 changes: 2 additions & 2 deletions src_ext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ reset-lib-pkg:
@rm -rf ../bootstrap/ocaml/lib/ocaml/site-lib ../bootstrap/ocaml/etc *.pkgbuild

ifeq ($(DUNE),)
DUNE_DEP=dune-local/_build/install/default/bin/dune$(EXE)
DUNE_DEP=dune-local/_build_bootstrap/install/default/bin/dune$(EXE)
DUNE_CLONE=dune-local.stamp
ifeq ($(shell command -v cygpath 2>/dev/null),)
DUNE:=$(DUNE_DEP)
Expand All @@ -91,7 +91,7 @@ DUNE_DEP=
DUNE_CLONE=
endif

dune-local/_build/install/default/bin/dune$(EXE): $(DUNE_CLONE)
dune-local/_build_bootstrap/install/default/bin/dune$(EXE): $(DUNE_CLONE)
cd dune-local && ocaml bootstrap.ml && ./boot.exe --release

build-pkg: clone-pkg $(PKG_EXTS:=.pkgbuild)
Expand Down
2 changes: 1 addition & 1 deletion src_ext/Makefile.packages
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dose3-pkg-build:
dune-local-pkg-build:
ocaml bootstrap.ml
./boot.exe --release
cp _build/default/bin/main_dune.exe $(OCAMLBIN)/dune$(EXT_EXE)
cp _build_bootstrap/default/bin/main_dune.exe $(OCAMLBIN)/dune$(EXT_EXE)

mccs-pkg-build:
dune build @install --root=.
Expand Down
4 changes: 2 additions & 2 deletions src_ext/Makefile.sources
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ MD5_result = 4beebefd41f7f899b6eeba7414e7ae01

$(call PKG_SAME,result)

URL_dune-local = https://github.com/ocaml/dune/releases/download/1.2.1/dune-1.2.1.tbz
MD5_dune-local = f96bdf1a893a2178c2ad9c388439bd18
URL_dune-local = https://github.com/ocaml/dune/releases/download/1.6.3/dune-1.6.3.tbz
MD5_dune-local = 1212a36547d25269675d767c38fecf5f

$(call PKG_SAME,dune-local)

Expand Down

0 comments on commit a3b255a

Please sign in to comment.