Skip to content

Deprecate Bigarray.*.map_file and add Unix.map_file#997

Merged
7 commits merged intotrunkfrom
unknown repository
Jan 10, 2017
Merged

Deprecate Bigarray.*.map_file and add Unix.map_file#997
7 commits merged intotrunkfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 5, 2017

As discussed during the last developer meeting, I looked at deprecating the Bigarray.*.map_file functions in favour of Unix.map_file. This will allow to move Bigarray to the stdlib later.

There were two problems:

  1. the signature of map_file refers to both Unix.file_descr and the bigarray types
  2. the C implementation of map_file needs things from bigarray.c

Once the Bigarray.*.map_file functions are removed these won't be a problem but in the meantime I did the following to break the circular dependency:

Added CamlinternalBigarray to the stdlib

and moved the bigarray types there. Given that these types are interpreted in a special way by the compiler, it seems to me that it make sense to have them in a special place anyway.

I looked at making them predefined types, but this would have added a lot of code to typing/predef.ml and a lot of types and constructors to the default environment. Moreover we already do something similar for format strings with CamlinternalFormatBasics.

Kept the stubs for map_file in otherlibs/bigarray

Moving them to otherlibs/unix would have required quite a lot of refactoring which seemed a bit silly to me given that this is only temporary. Instead I did something dirty and added a map_file_impl reference in Unix that is initialised by the Bigarray module.

Other changes

I changed caml_ba_map_file to raise Unix_error instead of Sys_error. This seems more natural now that the function is in the Unix module. The deprecated Bigarray.*.map_file functions still convert this exception to a Sys_error one for backward compatibility.

Future

Once the Bigarray.*.map_file are removed and Bigarray is moved to the stdlib, there will still be an issue: the bigarray finalizer calls caml_ba_unmap_file, which should naturally go into the Unix library at the side of caml_ba_map_file. At this point we can either:

  • have a reference on the C side for caml_ba_unmap_file and initialize it in caml_ba_map_file
  • add a field in caml_ba_array to speficy a custom destroyer

Jeremie Dimino added 2 commits January 5, 2017 19:00
This module contains the types that are used by the compiler to
produce optimized code for bigarrays.
and replace Bigarray by CamlinternalBigarray in bytecomp/typeopt.ml
@dbuenzli
Copy link
Contributor

dbuenzli commented Jan 5, 2017

xref MPR6193

@dra27
Copy link
Member

dra27 commented Jan 5, 2017

Can't easily check the details, but there are some tests which should academically be moved from lib-bigarray tests to lib-unix. Academic now, but better done here.

@dra27
Copy link
Member

dra27 commented Jan 5, 2017

The following fixes the C# Dynlink tests:

diff --git a/testsuite/tests/lib-dynlink-csharp/Makefile b/testsuite/tests/lib-dynlink-csharp/Makefile
index 1b0b1da..5647ce3 100644
--- a/testsuite/tests/lib-dynlink-csharp/Makefile
+++ b/testsuite/tests/lib-dynlink-csharp/Makefile
@@ -19,7 +19,7 @@ CSC=$(CSC_COMMAND) $(CSC_FLAGS)

 COMPFLAGS=-I $(OTOPDIR)/otherlibs/bigarray -I $(OTOPDIR)/otherlibs/dynlink \
           -I $(OTOPDIR)/byterun
-LD_PATH=$(TOPDIR)/otherlibs/bigarray:$(TOPDIR)/otherlibs/dynlink
+LD_PATH=$(TOPDIR)/otherlibs/win32unix:$(TOPDIR)/otherlibs/bigarray:$(TOPDIR)/otherlibs/dynlink

 default:
        @$(SET_LD_PATH) $(MAKE) all
diff --git a/testsuite/tests/lib-dynlink-csharp/bytecode.reference b/testsuite/tests/lib-dynlink-csharp/bytecode.reference
index 8be606c..1c61c15 100644
--- a/testsuite/tests/lib-dynlink-csharp/bytecode.reference
+++ b/testsuite/tests/lib-dynlink-csharp/bytecode.reference
@@ -1,5 +1,6 @@
 Now starting the OCaml engine.
 Main is running.
+Loading ../../../otherlibs/win32unix/unix.cma
 Loading ../../../otherlibs/bigarray/bigarray.cma
 Loading plugin.cmo
 I'm the plugin.
diff --git a/testsuite/tests/lib-dynlink-csharp/main.ml b/testsuite/tests/lib-dynlink-csharp/main.ml
index d30c150..7c8030a 100755
--- a/testsuite/tests/lib-dynlink-csharp/main.ml
+++ b/testsuite/tests/lib-dynlink-csharp/main.ml
@@ -5,19 +5,21 @@ let load s =
   with Dynlink.Error e ->
     print_endline (Dynlink.error_message e)

+(* Callback must be linked to load Unix dynamically *)
+let _ = Callback.register
+module CamlinternalBigarray = CamlinternalBigarray
+
 let () =
   ignore (Hashtbl.hash 42.0);
   print_endline "Main is running.";
   Dynlink.init ();
   Dynlink.allow_unsafe_modules true;
-  let s1,s2 =
-    if Dynlink.is_native then
-      "../../../otherlibs/bigarray/bigarray.cmxs",
-      "plugin.cmxs"
-    else
-      "../../../otherlibs/bigarray/bigarray.cma",
-      "plugin.cmo"
+  let s1,s2,s3 =
+    Dynlink.adapt_filename "../../../otherlibs/win32unix/unix.cma",
+    Dynlink.adapt_filename "../../../otherlibs/bigarray/bigarray.cma",
+    Dynlink.adapt_filename "plugin.cmo"
   in
   load s1;
   load s2;
+  load s3;
   print_endline "OK."
diff --git a/testsuite/tests/lib-dynlink-csharp/native.reference b/testsuite/tests/lib-dynlink-csharp/native.reference
index ff18be9..cfb612d 100644
--- a/testsuite/tests/lib-dynlink-csharp/native.reference
+++ b/testsuite/tests/lib-dynlink-csharp/native.reference
@@ -1,5 +1,6 @@
 Now starting the OCaml engine.
 Main is running.
+Loading ../../../otherlibs/win32unix/unix.cmxs
 Loading ../../../otherlibs/bigarray/bigarray.cmxs
 Loading plugin.cmxs
 I'm the plugin.

The module CamlinternalBigarray = CamlinternalBigarray line is unfortunate (native tests need the .cmx to have been linked). Given that the module only defines types, could it safely be renamed to .mli?

underlying system calls. [Invalid_argument] or [Failure] may be
raised in cases where argument validation fails. *)

[@@deprecated "Use Unix.map_file instead"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of uniformity, please use @@ocaml.deprecated rather than @@deprecated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also mention here the fact that the deprecated function raises Sys_error (so that people looking at removing the deprecated function know they have to be careful about the change).

@ghost
Copy link
Author

ghost commented Jan 6, 2017

I added @dra27's patch (thanks), moved the map_file tests to lib-unix and updated the [@@deprecated ...] annotations.

@dra27 I though about having only a .mli for CamlinternalBigarray but such modules without implementation tend to be annoying as you can't alias them. We do that in Base for instance, in order to make all the stdlib modules available through a single Caml module. It's actually really annoying that it's not done by default...

@dra27
Copy link
Member

dra27 commented Jan 6, 2017

Is being unable to alias an internal module ever likely to be a problem? Just thinking whether it's a problem that dynlinking bigarray got a little bit harder (I don't think it is a problem, especially given its final destination of being in the stdlib, but it's a user-visible change which requires an internal module to be named in code, unless there's a better way?)

@gasche
Copy link
Member

gasche commented Jan 6, 2017

For third-party libraries, dynlinking through findlib should be the better way, or at least asking ocamlfind for the list of packages to load.

@ghost
Copy link
Author

ghost commented Jan 6, 2017

In any case, when you use dynlink you should also use -linkall. At least you should link a linkall version of libraries that are expected to be used in plugins, so the stdlib should always be fully linked.

@dra27
Copy link
Member

dra27 commented Jan 6, 2017

@diml: Really? It potentially links a lot of code (in the test case, it increases the DLL size by 64%).

@gasche: I guess in this particular case, findlib could pull in a dummy .cmx file which would ensure that CamlinternalBigarray is linked, it just feels a bit weird (weirder, anyway, than having to reference Callback in order to ensure that Unix can be loaded dynamically).

@ghost
Copy link
Author

ghost commented Jan 6, 2017

@dra27 yes, otherwise how do you know in advance what to link in? Except if you know all your plugins before linking your program, there isn't much of a choice. And even then, -linkall is a simpler approach.

@dra27
Copy link
Member

dra27 commented Jan 6, 2017

I've preferred in the past to have the available stdlib modules specified (which can be enforced by linking a dummy module), it just seems odd to be doing that with an internal module... but maybe that's just me 😄

@ghost
Copy link
Author

ghost commented Jan 9, 2017

FTR it's not that uncommon. For instance you need CamlinternalMod if you want your plugins to be able to use recursive modules, or CamlinternalObj for objects. Dynlinking without -linkall is tedious in general

@ghost ghost merged commit 5ed7200 into ocaml:trunk Jan 10, 2017
@gasche
Copy link
Member

gasche commented Feb 25, 2017

I am looking at why Camomile fails to build with 4.05 right now, and I arrived at a build failure because it depends on Bigarray but not Unix. Do I correctly understand that the present change introduced a dependency from Bigarray to Unix (it seems that bigarray.ml is now calling Unix functions)? Do we have an idea of the amount of packages whose build will break because they don't take the new dependency into account?

@nojb
Copy link
Contributor

nojb commented Feb 25, 2017

Yes, it introduces such a dependency (I was bitten by this recently). Moreover, even if we had the unix dependency taken into account for some other reason it needs to appear before bigarray in order to work. Before this new dependency was added I think all otherlibs where independent of each other and they could be sorted in any order. The fact that unix comes after bigarray alphabetically also caused me some problems when using omake.

In any case I think this small amount of breakage is well worth it in order to (eventually) integrate bigarray into the stdlib.

@xavierleroy
Copy link
Contributor

This new dependency (of bigarrays on unix) is going to break most packages using bigarrays. Maybe we're doing it wrong. What I mean by that is: breaking only the packages that use Bigarray.map_file would be much less breakage overall. Let me think about that.

@nojb
Copy link
Contributor

nojb commented Feb 25, 2017

Why not just duplicate the definition of map_file (just an external as far as I can see) to avoid introducing any new dependency and keep backwards compatibility ?

@xavierleroy
Copy link
Contributor

xavierleroy commented Feb 25, 2017

Where do you think is the external in question implemented?

@xavierleroy
Copy link
Contributor

That's right. My point is that there is no easy way to make that C implementation available both to Unix and to Bigarray without introducing dependencies of one of the libraries on the other.

@shindere
Copy link
Contributor

shindere commented Feb 25, 2017 via email

@nojb
Copy link
Contributor

nojb commented Feb 25, 2017

Thanks for the explanation, now I understand the problem.

Couldn't we move the platform-independent bigarray C bindings to byterun and simply duplicate the contents of mmap_unix.c and mmap_win32.c between the bigarray and unix directories (renaming appropriately the functions being duplicated to avoid duplicated names in case we are linking both bigarray and unix) ? If I understand correctly, the plan is to (eventually) move those C bindings to byterun anyway, right ?

@alainfrisch
Copy link
Contributor

Are we still discussing this for inclusion in 4.05? Making such design choices so late in the process seems risky to me.

@xavierleroy
Copy link
Contributor

If we agree on what to do by the end of the week, say, I'm confident that @diml and/or I could implement it in time for 4.05. The implementation (of either solution) is neither very hard nor very risky. But I'm fine with reverting in 4.05 and shoot for 4.06.

@dra27
Copy link
Member

dra27 commented Feb 28, 2017

I prefer @xavierleroy's alternate plan - it feels more like moving in the correct direction and leaving compatibility libraries well outside the scope of the compiler itself (cf. findlib's bytes package, etc.).

Given that this is still about deprecating something, it (still) doesn't feel too risky to be doing this for 4.05 to me, but perhaps I still have my cowboy boots on!

xavierleroy added a commit that referenced this pull request Mar 3, 2017
… continued

This is a follow-up to GPR #997 with a different implementation that creates fewer dependencies.

We add to the runtime a `byterun/bigarray.c` file that contains the bigarray creation functions that used to be in `otherlibs/bigarray/bigarray_stubs.c`.  In the latter file we keep all primitives needed to implement the Bigarray interface.  The functions in the new `byterun/bigarray.c` make it possible to create bigarrays both from the bigarray library and from the unix library.

The header file `bigarray.h` moves to `byterun/caml/bigarray.h` accordingly.

The `map_file` implementations move to `otherlibs/unix/mmap.c` and `otherlibs/win32unix/mmap.c`.  Some bigarray allocation code shared between the two implementations is put in `otherlibs/unix/mmap_ba.c`.

Through a couple of `#ifdef`, the `map_file` implementations can also be compiled from within `otherlibs/bigarray` with the same semantics they had in 4.04.

As a consequence, the bigarray library still contains a standalone, Unix-independent implementation of `Bigarray.*.map_file`; the only difference with 4.04 is that it is marked deprecated.

Current status: compiled and lightly tested under Unix.  Win32 implementation neither compiled nor tested.
@xavierleroy
Copy link
Contributor

A proposal in GPR #1077.

gasche added a commit to gasche/ocaml that referenced this pull request Mar 12, 2017
This reverts commit 5ed7200.

GPR#997 introduced a hard dependency of Bigarray on Unix, while there
previously only was a type-level dependency. This break some programs,
such as Camomile, that linked bigarray.cma but not unix.cma.

A solution is being worked out in GPR ocaml#1077 to remove the dependency,
but I would like to go forward with opam package testing on the 4.05
branch, and getting the details right for GPR#1077 requires some care,
so I wouldn't feel comfortable rushing to merge it.

I had to handle the following conflicts:
	otherlibs/unix/unix.mli
          ("@SInCE 4.05.0" was added in faab91a)
	testsuite/tests/lib-bigarray-file/mapfile.ml
          (changed by 5839c98;
           I kept and adapted the new version)
	testsuite/tests/lib-bigarray-file/mapfile.reference
gasche added a commit to gasche/ocaml that referenced this pull request Mar 12, 2017
This reverts commit 5ed7200.

GPR#997 introduced a hard dependency of Bigarray on Unix, while there
previously only was a type-level dependency. This break some programs,
such as Camomile, that linked bigarray.cma but not unix.cma.

A solution is being worked out in GPR ocaml#1077 to remove the dependency,
but I would like to go forward with opam package testing on the 4.05
branch, and getting the details right for GPR#1077 requires some care,
so I wouldn't feel comfortable rushing to merge it.

I had to handle the following conflicts:
	otherlibs/unix/unix.mli
          ("@SInCE 4.05.0" was added in faab91a)
	testsuite/tests/lib-bigarray-file/mapfile.ml
          (changed by 5839c98;
           I kept and adapted the new version)
	testsuite/tests/lib-bigarray-file/mapfile.reference
xavierleroy added a commit that referenced this pull request Mar 12, 2017
… continued

This is a follow-up to GPR #997 with a different implementation that creates fewer dependencies.

We add to the runtime a `byterun/bigarray.c` file that contains the bigarray creation functions that used to be in `otherlibs/bigarray/bigarray_stubs.c`.  In the latter file we keep all primitives needed to implement the Bigarray interface.  The functions in the new `byterun/bigarray.c` make it possible to create bigarrays both from the bigarray library and from the unix library.

The header file `bigarray.h` moves to `byterun/caml/bigarray.h` accordingly.

The `map_file` implementations move to `otherlibs/unix/mmap.c` and `otherlibs/win32unix/mmap.c`.  Some bigarray allocation code shared between the two implementations is put in `otherlibs/unix/mmap_ba.c`.

Through a couple of `#ifdef`, the `map_file` implementations can also be compiled from within `otherlibs/bigarray` with the same semantics they had in 4.04.

As a consequence, the bigarray library still contains a standalone, Unix-independent implementation of `Bigarray.*.map_file`; the only difference with 4.04 is that it is marked deprecated.

Current status: compiled and lightly tested under Unix.  Win32 implementation neither compiled nor tested.
xavierleroy added a commit that referenced this pull request Mar 13, 2017
Revert "Deprecate Bigarray.*.map_file and add Unix.map_file (#997)"

This revert is intended to unblock the OPAM package testing of 4.05.
xavierleroy added a commit that referenced this pull request Mar 13, 2017
… continued

This is a follow-up to GPR #997 with a different implementation that creates fewer dependencies.

We add to the runtime a `byterun/bigarray.c` file that contains the bigarray creation functions that used to be in `otherlibs/bigarray/bigarray_stubs.c`.  In the latter file we keep all primitives needed to implement the Bigarray interface.  The functions in the new `byterun/bigarray.c` make it possible to create bigarrays both from the bigarray library and from the unix library.

The header file `bigarray.h` moves to `byterun/caml/bigarray.h` accordingly.

The `map_file` implementations move to `otherlibs/unix/mmap.c` and `otherlibs/win32unix/mmap.c`.  Some bigarray allocation code shared between the two implementations is put in `otherlibs/unix/mmap_ba.c`.

Through a couple of `#ifdef`, the `map_file` implementations can also be compiled from within `otherlibs/bigarray` with the same semantics they had in 4.04.

As a consequence, the bigarray library still contains a standalone, Unix-independent implementation of `Bigarray.*.map_file`; the only difference with 4.04 is that it is marked deprecated.

Current status: compiled and lightly tested under Unix.  Win32 implementation neither compiled nor tested.
@hhugo
Copy link
Contributor

hhugo commented May 28, 2017

map_file is missing from unixLabels.ml

@shindere
Copy link
Contributor

Just to make sure: is it on purpose that no camlinternalBigarray.mli has
been provided? The other internal modules all have an interface, hence
the question.

@ghost
Copy link
Author

ghost commented May 31, 2017

It's because it was the same as the .ml and wasn't meant to be seen by users

@xavierleroy
Copy link
Contributor

Right, camlinternalBigarray contains only type declarations, so the .ml and the .mli would be identical.

@alainfrisch
Copy link
Contributor

Would it create problem to have only the .mli, then? (As we do e.g. for Parsetree.)

@xavierleroy
Copy link
Contributor

With a .mli and no .ml, there is no .cmx and a chance of getting a warning "No cmx found". In this particular case, the chance is pretty low, I think.

@ghost
Copy link
Author

ghost commented Jun 1, 2017

In general I try to avoid mli only modules as they are not very well supported; you can't alias them and if you write something such as exception E you won't get an error until much later when you link the library as part of an executable.

This was referenced Jul 14, 2017
camlspotter pushed a commit to camlspotter/ocaml that referenced this pull request Oct 17, 2017
To break the circular dependency between Bigarray and Unix, a CamlinternalBigarray module was added to the stdlib. This module defines all the types used by the compiler to produce optimized code for bigarrays.

Thanks to David Allsopp for fixing Windows tests.
camlspotter pushed a commit to camlspotter/ocaml that referenced this pull request Oct 17, 2017
This reverts commit 5ed7200.

GPR#997 introduced a hard dependency of Bigarray on Unix, while there
previously only was a type-level dependency. This break some programs,
such as Camomile, that linked bigarray.cma but not unix.cma.

A solution is being worked out in GPR ocaml#1077 to remove the dependency,
but I would like to go forward with opam package testing on the 4.05
branch, and getting the details right for GPR#1077 requires some care,
so I wouldn't feel comfortable rushing to merge it.

I had to handle the following conflicts:
	otherlibs/unix/unix.mli
          ("@SInCE 4.05.0" was added in faab91a)
	testsuite/tests/lib-bigarray-file/mapfile.ml
          (changed by 5839c98;
           I kept and adapted the new version)
	testsuite/tests/lib-bigarray-file/mapfile.reference
camlspotter pushed a commit to camlspotter/ocaml that referenced this pull request Oct 17, 2017
Revert "Deprecate Bigarray.*.map_file and add Unix.map_file (ocaml#997)"

This revert is intended to unblock the OPAM package testing of 4.05.
sadiqj pushed a commit to sadiqj/ocaml that referenced this pull request Feb 21, 2023
stedolan pushed a commit to stedolan/ocaml that referenced this pull request Mar 21, 2023
stedolan pushed a commit to stedolan/ocaml that referenced this pull request Mar 21, 2023
b11eea1 flambda-backend: Introduce Import_info (ocaml#1036)
bc5b135 flambda-backend: Fix `ocamlobjinfo` on flambda2 .cmx files (ocaml#1029)
c8babbd flambda-backend: Compilation_unit optimisations (ocaml#1035)
e8d3e22 flambda-backend: Use 4.14.0 opam switch for building (includes upgrading ocamlformat to 0.24.1) (ocaml#1030)
eb14a86 flambda-backend: Port PR81 from ocaml-jst (ocaml#1024)
131bc12 flambda-backend: Merge ocaml-jst 2022-12-13 (ocaml#1022)
06c189a flambda-backend: Make stack allocation the default (ocaml#1013)
98debd5 flambda-backend: Initial support for value slots not of value kind (ocaml#946)
deb1714 flambda-backend: Add is_last flag to closinfo words (ocaml#938)
d07fce1 flambda-backend: Disable poll insertion in Configure (ocaml#967)
0f1ce0e flambda-backend: Regenerate ocaml/configure autoconf 2.69 (instead of 2.71) (ocaml#1012)
27132d8 flambda-backend: Fix for spurious typing error related to expanding through functor arguments (ocaml#997)
724fb68 flambda-backend: Use `Compilation_unit.t` instead of `Ident.t` for globals (ocaml#871)
396d5b8 flambda-backend: Add a test for frametable setup in natdynlinked libraries (ocaml#983)
b73ab12 flambda-backend: Fix invocation of `caml_shared_startup` in native dynlink (ocaml#980)
7c7d75a flambda-backend: Fix split_default_wrapper which did not trigger anymore with flambda2 (ocaml#970)
8fb75bd flambda-backend: Port ocaml#11727 and ocaml#11732 (ocaml#965)
fdb7987 flambda-backend: Fix include functor issue after 4.14 merge. (ocaml#948)
9745cdb flambda-backend: Print -dprofile/-dtimings output to stdout like 4.12 (ocaml#943)
5f51f21 flambda-backend: Merge pull request ocaml#932 from mshinwell/4.14-upgrade
841687d flambda-backend: Run make alldepend in ocaml/ (ocaml#936)
72a7658 flambda-backend: Remove reformatting changes only in dynlink/dune (preserving PR889 and adjusting to minimise diff)
6d758cd flambda-backend: Revert whitespace changes in dune files, to match upstream
c86bf6e flambda-backend: Remove duplicate tests for polling
971dbeb flambda-backend: Testsuite fixes
32f8356 flambda-backend: Topeval fix for symbols patch
befea01 flambda-backend: Compilation fixes / rectify merge faults
a84543f flambda-backend: Merge ocaml-jst
8e65056 flambda-backend: Merge ocaml-jst
4d70045 flambda-backend: Remove filename from system frametable (amd64) (ocaml#920)
5e57b7d flambda-backend: Bugfix for runtime frame_descr logic for C frames (ocaml#918)
6423d5e flambda-backend: Merge pull request ocaml#914 from mshinwell/merge-ocaml-jst-2022-10-24
ead605c flambda-backend: Add a missing Extract_exception (ocaml#916)
c8f1481 flambda-backend: Resolve conflicts and add specialise/specialised attributes to Builtin_attributes
cf4d0d3 flambda-backend: Merge fixes (ocaml#21)
c2f742f flambda-backend: Re-enable some tests for Flambda2 (ocaml#881)
3d38d13 flambda-backend: Long frames in frametable (ocaml#797)
85aec7b flambda-backend: Add loop attribute to Builtin_attributes
c0f16e3 flambda-backend: Compilation fixes
90dea23 flambda-backend: Merge flambda-backend/main
5acc6ea flambda-backend: Fixes after merge
e501946 flambda-backend: Merge ocaml-jst
115083b flambda-backend: Merge ocaml-jst
9943b2e flambda-backend: Revert "Revert "Transform tail-recursive functions into recursive continuations (ocaml#893)"" (ocaml#909)
ce339f1 flambda-backend: Fix alloc modes and call kinds for overapplications (ocaml#902)
e6a317c flambda-backend: Revert "Transform tail-recursive functions into recursive continuations (ocaml#893)"
853c488 flambda-backend: Transform tail-recursive functions into recursive continuations (ocaml#893)
5a977e4 flambda-backend: Fix missing End_region primitives on switch arms (ocaml#898)
7fa7f9d flambda-backend: Add missing dependencies to Dune files (ocaml#889)
3cd36f0 flambda-backend: Have Lambda `Pgetglobal` and `Psetglobal` take `Compilation_unit.t` (ocaml#896)
7565915 flambda-backend: [@poll error] attribute (ocaml#745)
9eb9448 flambda-backend: Backport the main safepoints PRs (ocaml#740)
689bdda flambda-backend: Add strict mode for ocamldep (ocaml#892)

git-subtree-dir: ocaml
git-subtree-split: b11eea1
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants