forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ocaml-base-compiler.4.12.0~alpha1
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...s/ocaml-base-compiler/ocaml-base-compiler.4.12.0~alpha1/files/ocaml-base-compiler.install
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 @@ | ||
share_root: ["config.cache" {"ocaml/config.cache"}] |
43 changes: 43 additions & 0 deletions
43
packages/ocaml-base-compiler/ocaml-base-compiler.4.12.0~alpha1/opam
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,43 @@ | ||
opam-version: "2.0" | ||
synopsis: "First alpha release of OCaml 4.12.0" | ||
maintainer: "platform@lists.ocaml.org" | ||
authors: "Xavier Leroy and many contributors" | ||
homepage: "https://ocaml.org" | ||
bug-reports: "https://github.com/ocaml/ocaml/issues" | ||
dev-repo: "git://github.com/ocaml/ocaml" | ||
depends: [ | ||
"ocaml" {= "4.12.0" & post} | ||
"base-unix" {post} | ||
"base-bigarray" {post} | ||
"base-threads" {post} | ||
"ocaml-beta" {opam-version < "2.1"} | ||
] | ||
conflict-class: "ocaml-core-compiler" | ||
flags: [ compiler hidden-version ] | ||
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" | ||
build: [ | ||
[ | ||
"./configure" | ||
"--prefix=%{prefix}%" | ||
"-C" | ||
"CC=cc" {os = "openbsd" | os = "freebsd" | os = "macos"} | ||
"ASPP=cc -c" {os = "openbsd" | os = "freebsd" | os = "macos"} | ||
] | ||
[make "-j%{jobs}%" {os != "cygwin"} "world"] | ||
[make "-j%{jobs}%" {os != "cygwin"} "world.opt"] | ||
] | ||
install: [make "install"] | ||
url { | ||
src: "https://github.com/ocaml/ocaml/archive/4.12.0-alpha1.tar.gz" | ||
checksum: "sha256=bee59cb94067410d02f0bc4e7e47e3e878689aabf61e6d2f0cb4316f8563e55d" | ||
} | ||
extra-files: ["ocaml-base-compiler.install" "md5=3e969b841df1f51ca448e6e6295cb451"] | ||
post-messages: [ | ||
"A failure in the middle of the build may be caused by build parallelism | ||
(enabled by default). | ||
Please file a bug report at https://github.com/ocaml/ocaml/issues" | ||
{failure & jobs > 1 & os != "cygwin"} | ||
"You can try installing again including --jobs=1 | ||
to force a sequential build instead." | ||
{failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"} | ||
] |