Skip to content

Commit

Permalink
Add ocaml-base-compiler.4.12.0~alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Nov 5, 2020
1 parent 7bf0c44 commit 529b7e7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
share_root: ["config.cache" {"ocaml/config.cache"}]
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"}
]

0 comments on commit 529b7e7

Please sign in to comment.