Skip to content

Commit a195c99

Browse files
authored
flambda-backend: Restore missing .h files to caml directory of runtime 5's installed compiler (#2695)
* Add `opnames.h` to caml directory of installed compiler * Add to caml directory, and put in the proper caml directory instead of top-level
1 parent c65dc3e commit a195c99

File tree

2 files changed

+13
-1
lines changed
  • otherlibs/runtime_events
  • runtime/caml

2 files changed

+13
-1
lines changed

otherlibs/runtime_events/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
(.runtime_events.objs/byte/runtime_events.cmi as runtime_events/runtime_events.cmi)
4545
(.runtime_events.objs/byte/runtime_events.cmt as runtime_events/runtime_events.cmt)
4646
(.runtime_events.objs/byte/runtime_events.cmti as runtime_events/runtime_events.cmti)
47-
(runtime_events_consumer.h as runtime_events_consumer.h)
47+
(runtime_events_consumer.h as caml/runtime_events_consumer.h)
4848
(META as runtime_events/META)
4949
)
5050
(section lib)

runtime/caml/dune

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
(bash "cat %{h} | tr -d '\\r' | \
2222
sed -n -e '/^ /s/ \\([A-Z]\\)/ \\&\\&lbl_\\1/gp' -e '/^}/q'"))))
2323

24+
(rule
25+
(targets opnames.h)
26+
(deps instruct.h ../../Makefile
27+
../../Makefile.common
28+
../../Makefile.config
29+
../../Makefile.build_config
30+
../../Makefile.config_if_required
31+
)
32+
(action (run make -s -C ../.. COMPUTE_DEPS=false runtime/caml/opnames.h)))
33+
2434
(rule
2535
(targets version.h)
2636
(mode fallback)
@@ -66,6 +76,7 @@
6676
(intext.h as caml/intext.h)
6777
(io.h as caml/io.h)
6878
(lf_skiplist.h as caml/lf_skiplist.h)
79+
(jumptbl.h as caml/jumptbl.h)
6980
(m.h as caml/m.h)
7081
(major_gc.h as caml/major_gc.h)
7182
(md5.h as caml/md5.h)
@@ -74,6 +85,7 @@
7485
(minor_gc.h as caml/minor_gc.h)
7586
(misc.h as caml/misc.h)
7687
(mlvalues.h as caml/mlvalues.h)
88+
(opnames.h as caml/opnames.h)
7789
(osdeps.h as caml/osdeps.h)
7890
(platform.h as caml/platform.h)
7991
(prims.h as caml/prims.h)

0 commit comments

Comments
 (0)