File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ Features wishes:
8080 (Gabor Pali)
8181- PR#6367: introduce Asttypes.arg_label to encode labelled arguments
8282- PR#6611: remove the option wrapper on optional arguments in the syntax tree
83+ - PR#6691: install .cmt[i] files for stdlib and compiler-libs
84+ (David Sheets, request by Gabriel Radanne)
8385- PR#6742: remove duplicate virtual_flag information from Tstr_class
8486
8587OCaml 4.02.2:
Original file line number Diff line number Diff line change @@ -336,8 +336,12 @@ install:
336336 cd stdlib; $(MAKE ) install
337337 cp lex/ocamllex $(INSTALL_BINDIR ) /ocamllex$(EXE )
338338 cp yacc/ocamlyacc$(EXE ) $(INSTALL_BINDIR ) /ocamlyacc$(EXE )
339- cp utils/* .cmi parsing/* .cmi typing/* .cmi bytecomp/* .cmi driver/* .cmi \
340- toplevel/* .cmi $(INSTALL_COMPLIBDIR )
339+ cp utils/* .cmi utils/* .cmt utils/* .cmti \
340+ parsing/* .cmi parsing/* .cmt parsing/* .cmti \
341+ typing/* .cmi typing/* .cmt typing/* .cmti \
342+ bytecomp/* .cmi bytecomp/* .cmt bytecomp/* .cmti \
343+ driver/* .cmi driver/* .cmt driver/* .cmti \
344+ toplevel/* .cmi toplevel/* .cmt toplevel/* .cmti $(INSTALL_COMPLIBDIR )
341345 cp compilerlibs/ocamlcommon.cma compilerlibs/ocamlbytecomp.cma \
342346 compilerlibs/ocamltoplevel.cma $(BYTESTART ) $(TOPLEVELSTART ) \
343347 $(INSTALL_COMPLIBDIR )
@@ -361,7 +365,7 @@ installopt:
361365 cd asmrun; $(MAKE ) install
362366 cp ocamlopt $(INSTALL_BINDIR ) /ocamlopt$(EXE )
363367 cd stdlib; $(MAKE ) installopt
364- cp asmcomp/* .cmi $(INSTALL_COMPLIBDIR )
368+ cp asmcomp/* .cmi asmcomp/ * .cmt asmcomp/ * .cmti $(INSTALL_COMPLIBDIR )
365369 cp compilerlibs/ocamloptcomp.cma $(OPTSTART ) $(INSTALL_COMPLIBDIR )
366370 if test -n " $( WITH_OCAMLDOC) " ; then (cd ocamldoc; $( MAKE) installopt); \
367371 else : ; fi
Original file line number Diff line number Diff line change @@ -262,8 +262,12 @@ installbyt:
262262 cd stdlib ; $(MAKEREC) install
263263 cp lex/ocamllex $(INSTALL_BINDIR)/ocamllex.exe
264264 cp yacc/ocamlyacc.exe $(INSTALL_BINDIR)/ocamlyacc.exe
265- cp utils/*.cmi parsing/*.cmi typing/*.cmi bytecomp/*.cmi driver/*.cmi \
266- toplevel/*.cmi $(INSTALL_COMPLIBDIR)
265+ cp utils/*.cmi utils/*.cmt utils/*.cmti \
266+ parsing/*.cmi parsing/*.cmt parsing/*.cmti \
267+ typing/*.cmi typing/*.cmt typing/*.cmti \
268+ bytecomp/*.cmi bytecomp/*.cmt bytecomp/*.cmti \
269+ driver/*.cmi driver/*.cmt driver/*.cmti \
270+ toplevel/*.cmi toplevel/*.cmt toplevel/*.cmti $(INSTALL_COMPLIBDIR)
267271 cp compilerlibs/ocamlcommon.cma compilerlibs/ocamlbytecomp.cma \
268272 compilerlibs/ocamltoplevel.cma $(BYTESTART) $(TOPLEVELSTART) \
269273 $(INSTALL_COMPLIBDIR)
@@ -290,7 +294,7 @@ installopt:
290294 cd asmrun ; $(MAKEREC) install
291295 cp ocamlopt $(INSTALL_BINDIR)/ocamlopt.exe
292296 cd stdlib ; $(MAKEREC) installopt
293- cp asmcomp/*.cmi $(INSTALL_COMPLIBDIR)
297+ cp asmcomp/*.cmi asmcomp/*.cmt asmcomp/*.cmti $(INSTALL_COMPLIBDIR)
294298 cp compilerlibs/ocamloptcomp.cma $(OPTSTART) $(INSTALL_COMPLIBDIR)
295299 if test -n "$(WITH_OCAMLDOC)"; then (cd ocamldoc; $(MAKEREC) installopt); fi
296300 if test -n "$(WITH_OCAMLBUILD)"; then (cd ocamlbuild; $(MAKE) installopt); \
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ all: stdlib.cma std_exit.cmo camlheader camlheader_ur
4242INSTALL_LIBDIR=$(DESTDIR)$(LIBDIR)
4343
4444install: install-$(RUNTIMED)
45- cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur \
45+ cp stdlib.cma std_exit.cmo *.cmi *.cmt *.cmti *.mli *.ml \
46+ camlheader camlheader_ur \
4647 $(INSTALL_LIBDIR)
4748
4849install-noruntimed:
You can’t perform that action at this time.
0 commit comments