this repo has no description
1opam-version: "2.0" 2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3synopsis: "Latest 4.07 development snapshot" 4maintainer: "David Allsopp <david@tarides.com>" 5authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"] 6homepage: "https://ocaml.org" 7bug-reports: "https://github.com/ocaml/opam-repository/issues" 8dev-repo: "git+https://github.com/ocaml/ocaml.git#4.07" 9depends: [ 10 "ocaml" {= "4.07.2" & post} 11 "base-unix" {post} 12 "base-bigarray" {post} 13 "base-threads" {post} 14 "ocaml-beta" {opam-version < "2.1.0"} 15] 16conflict-class: "ocaml-core-compiler" 17flags: [ compiler avoid-version ] 18setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 19build: [ 20 ["sed" "-ib" "-e" "s/ -Werror//" "configure"] 21 [ 22 "sed" 23 "-ib" 24 "-e" 25 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" 26 "config/auto-aux/hasgot" 27 ] {os = "macos"} 28 ["./configure" "-prefix" prefix "-with-debug-runtime"] 29 {os != "openbsd" & os != "freebsd" & os != "macos"} 30 [ 31 "./configure" 32 "-prefix" 33 prefix 34 "-with-debug-runtime" 35 "-cc" 36 "cc" 37 "-aspp" 38 "cc -c" 39 ] {os = "openbsd" | os = "freebsd" | os = "macos"} 40 [make "-j%{jobs}%" {os != "cygwin"} "world"] 41 [make "-j%{jobs}%" {os != "cygwin"} "world.opt"] 42] 43install: [make "install"] 44url { 45 src: "https://github.com/ocaml/ocaml/archive/4.07.tar.gz" 46} 47post-messages: [ 48 "A failure in the middle of the build may be caused by build parallelism 49 (enabled by default). 50 See https://github.com/ocaml/opam-repository/pull/14257 for more info." 51 {failure & jobs > 1 & os != "cygwin"} 52 "You can try installing again including --jobs=1 53 to force a sequential build instead." 54 {failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"} 55] 56patches: ["fix-gcc10.patch"] 57available: !(os = "macos" & arch = "arm64") 58extra-source "fix-gcc10.patch" { 59 src: 60 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/fix-gcc10.patch.4.07.2" 61 checksum: [ 62 "sha256=f0a7ee630046ffb83fb2a78ca5a81e288e817fbda6b12692dadb79ab93a8737d" 63 "md5=b054fa6b6651763edc8e16b6bc4c58f6" 64 ] 65}