opam-version: "2.0" synopsis: "Latest 4.05 snapshot with frame-pointers and flambda activated" maintainer: "David Allsopp " authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"] homepage: "https://ocaml.org" bug-reports: "https://github.com/ocaml/opam-repository/issues" dev-repo: "git+https://github.com/ocaml/ocaml.git#4.05" depends: [ "ocaml" {= "4.05.1" & post} "base-unix" {post} "base-bigarray" {post} "base-threads" {post} "ocaml-beta" {opam-version < "2.1.0"} ] conflict-class: "ocaml-core-compiler" flags: [ compiler avoid-version ] setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" build: [ ["sed" "-ib" "-e" "s/ -Werror//" "configure"] [ "sed" "-ib" "-e" "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" "config/auto-aux/hasgot" ] {os = "macos"} [ "./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers" "-flambda" ] {os != "openbsd" & os != "freebsd" & os != "macos"} [ "./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers" "-flambda" "-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.05.tar.gz" } patches: ["fix-gcc10.patch"] available: os = "linux" & arch = "x86_64" extra-source "fix-gcc10.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/fix-gcc10.patch.4.05.1" checksum: [ "sha256=7a4645db04d32520f59e2676219d5626d361dbd7d55cf509b7839f3613a51028" "md5=3791e3c17d11ec0f246fc6c5c5e5e2f3" ] }