opam-version: "2.0" synopsis: "first release candidate for 4.06.1, without safe strings by default" maintainer: "David Allsopp " depends: [ "ocaml" {= "4.06.1" & post} "base-unix" {post} "base-bigarray" {post} "base-threads" {post} ] conflict-class: "ocaml-core-compiler" flags: compiler setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" build: [ [ "sed" "-ib" "-e" "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" "config/auto-aux/hasgot" ] {os = "macos"} [ "./configure" "-prefix" prefix "-with-debug-runtime" "-default-unsafe-string" ] {os != "openbsd" & os != "freebsd" & os != "macos"} [ "./configure" "-prefix" prefix "-with-debug-runtime" "-default-unsafe-string" "-cc" "cc" "-aspp" "cc -c" ] {os = "openbsd" | os = "freebsd" | os = "macos"} [make "world"] [make "world.opt"] ] install: [make "install"] url { src: "https://github.com/ocaml/ocaml/archive/4.06.1+rc1.tar.gz" checksum: [ "sha256=eb162786b7d18fce4427a3c9f0b3e58f18b063f2008a674aa0b7037d8342f83a" "md5=7a8d77a43528224fa589e962604bd184" ] } available: !(os = "macos" & arch = "arm64" | os = "win32") x-maintained: false