Skip to content

Commit

Permalink
Make the build use runtime4/ instead of runtime/
Browse files Browse the repository at this point in the history
  • Loading branch information
stedolan committed Oct 12, 2023
1 parent a5038b8 commit 6043222
Show file tree
Hide file tree
Showing 14 changed files with 3,470 additions and 4,551 deletions.
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,25 @@ _build
/parsing/camlinternalMenhirLib.ml
/parsing/camlinternalMenhirLib.mli

/runtime4/caml/jumptbl.h
/runtime4/caml/m.h
/runtime4/caml/s.h
/runtime4/primitives
/runtime4/primitives.new
/runtime4/prims.c
/runtime4/caml/opnames.h
/runtime4/caml/version.h
/runtime4/ocamlrun
/runtime4/ocamlrund
/runtime4/ocamlruni
/runtime4/ld.conf
/runtime4/.gdb_history
/runtime4/.dep
/runtime4/build_config.h
/runtime4/sak
/runtime4/domain_state32.inc
/runtime4/domain_state64.inc

/runtime/caml/jumptbl.h
/runtime/caml/m.h
/runtime/caml/s.h
Expand Down
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ OCAMLYACCFLAGS ?=
%.ml %.mli: %.mly
$(OCAMLYACC) $(OCAMLYACCFLAGS) $<

SAK = $(ROOTDIR)/runtime/sak$(EXE)
SAK = $(ROOTDIR)/runtime4/sak$(EXE)

# stdlib/StdlibModules cannot be include'd unless $(SAK) has been built. These
# two rules add that dependency. They have to be pattern rules since
Expand Down
2 changes: 1 addition & 1 deletion bytecomp/dune
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(rule
(targets opcodes.ml)
(mode fallback)
(deps (:instr (file ../runtime/caml/instruct.h)))
(deps (:instr (file ../runtime4/caml/instruct.h)))
(action
(bash "%{dep:../tools/make_opcodes.exe} -opcodes < %{instr} > %{targets}")))

Expand Down
Loading

0 comments on commit 6043222

Please sign in to comment.