Skip to content

Commit f6abb6b

Browse files
committed
Missed settings of RUNTIME_DIR
1 parent ed531cd commit f6abb6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ocaml/Makefile.common-jst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ boot-compiler: _build/_bootinstall
6666
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_boot) $(coverage_dune_flags) $(boot_targets)
6767

6868
boot-runtest: boot-compiler
69-
$(dune) runtest $(ws_boot) $(coverage_dune_flags) --force
69+
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) runtest $(ws_boot) $(coverage_dune_flags) --force
7070

7171
runtime-stdlib: boot-compiler
7272
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_runstd) --only-package=ocaml_runtime_stdlib @install
@@ -79,7 +79,7 @@ compiler: runtime-stdlib
7979
$(ocamldir)/tools/dumpobj.bc
8080

8181
runtest: compiler
82-
$(dune) runtest $(ws_main)
82+
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) runtest $(ws_main)
8383

8484

8585
# This Makefile supports old versions that don't have $(file), so we're using
@@ -376,7 +376,7 @@ hacking: _build/_bootinstall
376376

377377
.PHONY: hacking-emacs-poller
378378
hacking-emacs-poller: _build/_bootinstall
379-
$(dune) build $(ws_boot) --passive-watch-mode
379+
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_boot) --passive-watch-mode
380380

381381
.PHONY: hacking-emacs-builder
382382
hacking-emacs-builder: _build/_bootinstall
@@ -385,7 +385,7 @@ hacking-emacs-builder: _build/_bootinstall
385385

386386
.PHONY: debug-printers
387387
debug-printers: runtime-stdlib # required for $(ws_main) to work
388-
$(dune) build $(ws_main) $(ocamldir)/tools/debug_printers
388+
RUNTIME_DIR=$(RUNTIME_DIR) $(dune) build $(ws_main) $(ocamldir)/tools/debug_printers
389389
@echo
390390
@echo To load into ocamldebug, use:
391391
@echo source \"$$(realpath _build/main/$(ocamldir)/tools/debug_printers)\"

0 commit comments

Comments
 (0)