-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHA: Use both 4.14 and 5.3 as default version, remove i686 from the b…
…uild matrix and add 5.2
- Loading branch information
1 parent
f9c7df9
commit 05ae806
Showing
7 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff -Naur a/src/extArray.mli b/src/extArray.mli | ||
--- a/src/extArray.mli 2022-08-05 14:12:23.000000000 +0000 | ||
+++ b/src/extArray.mli 2024-09-04 20:51:58.170821498 +0000 | ||
@@ -112,7 +112,9 @@ | ||
|
||
(** These functions are reimplemented in extlib when they are missing from the stdlib *) | ||
|
||
-#if OCAML >= 403 | ||
+#if OCAML >= 503 | ||
+ external create_float : int -> float array = "caml_array_create_float" | ||
+#elif OCAML >= 403 | ||
external create_float : int -> float array = "caml_make_float_vect" | ||
#else | ||
val create_float : int -> float array | ||
@@ -149,7 +151,11 @@ | ||
external length : 'a array -> int = "%array_length" | ||
external get : 'a array -> int -> 'a = "%array_safe_get" | ||
external set : 'a array -> int -> 'a -> unit = "%array_safe_set" | ||
+#if OCAML >= 503 | ||
+ external make : int -> 'a -> 'a array = "caml_array_make" | ||
+#else | ||
external make : int -> 'a -> 'a array = "caml_make_vect" | ||
+#endif | ||
external create : int -> 'a -> 'a array = "caml_make_vect" | ||
val init : int -> (int -> 'a) -> 'a array | ||
val make_matrix : int -> int -> 'a -> 'a array array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -Naur a/src/context_flags.ml b/src/context_flags.ml | ||
--- a/src/context_flags.ml 2024-08-21 13:03:37.000000000 +0000 | ||
+++ b/src/context_flags.ml 2024-09-05 14:57:29.242019552 +0000 | ||
@@ -23,7 +23,7 @@ | ||
let flags = | ||
(if (Sys.win32 && Config.ccomp_type = "msvc") | ||
then ["\"/EHsc\""] | ||
- else ["-Wall -Wextra -Wno-unused-parameter -x c++"]) @ | ||
+ else ["-Wall -Wextra -Wno-unused-parameter -x c++ -std=c++11"]) @ | ||
(ifc useGLPK ["-DUSEGLPK"]) @ | ||
(ifc useCOIN ["-DUSECOIN"]) @ | ||
(ifc useCLP ["-DUSECLP"]) @ |