Skip to content

Commit

Permalink
flambda-backend: Fix for dumpobj build
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Oct 31, 2023
1 parent 6162839 commit c73dd4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile.common-jst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ runtime-stdlib: boot-compiler
@touch _build/install/runtime_stdlib/lib/ocaml_runtime_stdlib/dynlink.cmxa

compiler: runtime-stdlib
$(dune) build $(ws_main) --only-package=ocaml @install $(ocamldir)/ocamltest/ocamltest.byte
$(dune) build $(ws_main) --only-package=ocaml @install \
$(ocamldir)/ocamltest/ocamltest.byte \
$(ocamldir)/tools/dumpobj.bc

runtest: compiler
$(dune) runtest $(ws_main)
Expand Down Expand Up @@ -271,7 +273,7 @@ install_for_test: _install
mkdir _runtest/tools
ln -s ../_install/bin/ocamlmklib.byte _runtest/tools/ocamlmklib
ln -s ../_install/bin/ocamlobjinfo.byte _runtest/tools/ocamlobjinfo
ln -s ../_install/bin/dumpobj.byte _runtest/tools/dumpobj
ln -s ../../_build/main/ocaml/tools/dumpobj.bc _runtest/tools/dumpobj
# ocamldoc
rm _runtest/ocamldoc
mkdir _runtest/ocamldoc
Expand Down

0 comments on commit c73dd4c

Please sign in to comment.