opam-version: "2.0" synopsis: "Second beta for 4.06.0, without safe strings by default" maintainer: "David Allsopp " depends: [ "ocaml" {= "4.06.0" & 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.0+beta2.tar.gz" checksum: [ "sha256=65130faa992c11a629f0c08621f64cc4ee34368d3df64636fcf1af31f2cb4b26" "md5=d3beca2a7d12c42c6b2585557ba59c4a" ] } patches: ["fix-gcc10.patch"] available: !(os = "macos" & arch = "arm64" | os = "win32") extra-source "fix-gcc10.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/fix-gcc10.patch.4.06.0" checksum: [ "sha256=89aa25371decacc2e091327b43e25d4e63c9f3b34bde8a3031b01a6b6d2e6598" "md5=c9198adfe0c9d8e7e299b4f4fef5dfc5" ] } x-maintained: false