Skip to content

Commit

Permalink
Needs ocaml-4.14.3 too
Browse files Browse the repository at this point in the history
  • Loading branch information
edwintorok committed Feb 14, 2025
1 parent b81dcb6 commit ddd6340
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ocaml-system/ocaml-system.4.14.3/opam
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ depends: [
]
conflict-class: "ocaml-core-compiler"
available:
sys-ocaml-version = "4.14.3" & (os != "win32" | sys-ocaml-libc = "msvc")
(sys-ocaml-version >= "4.14.3~" & sys-ocaml-version < "4.14.4" ) & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
Expand Down
39 changes: 39 additions & 0 deletions packages/ocaml/ocaml.4.14.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opam-version: "2.0"
name: "ocaml"
version: "4.14.3"
synopsis: "The OCaml compiler (virtual package)"
description: """\
This package requires a matching implementation of OCaml,
and polls it to initialise specific variables like `ocaml:native-dynlink`"""
maintainer: "David Allsopp <[email protected]>"
authors: [
"Xavier Leroy"
"Damien Doligez"
"Alain Frisch"
"Jacques Garrigue"
"Didier Rémy"
"Jérôme Vouillon"
]
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
depends: [
"ocaml-config" {>= "2"}
"ocaml-base-compiler" {>= "4.14.3~" & < "4.14.4~"} |
"ocaml-variants" {>= "4.14.3~" & < "4.14.4~"} |
"ocaml-system" {>= "4.14.3" & < "4.14.4~"} |
"dkml-base-compiler" {>= "4.14.3~" & < "4.14.4~"}
]
flags: conf
setenv: [
[CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"]
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
build: [
"ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name
]
build-env: CAML_LD_LIBRARY_PATH = ""
x-env-path-rewrite: [
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
]

0 comments on commit ddd6340

Please sign in to comment.