this repo has no description
1opam-version: "2.0" 2synopsis: "Official 3.12.0 release" 3maintainer: "David Allsopp <david@tarides.com>" 4license: "QPL-1.0 AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 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#3.12" 9depends: [ 10 "ocaml" {= "3.12.0" & post} 11 "base-unix" {post} 12 "base-bigarray" {post} 13 "base-threads" {post} 14 "base-ocamlbuild" {post} 15] 16conflict-class: "ocaml-core-compiler" 17flags: compiler 18setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 19build: [ 20 [ 21 "sed" 22 "-ib" 23 "-e" 24 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/" 25 "config/auto-aux/hasgot" 26 ] {os = "macos"} 27 ["./configure" "-prefix" prefix] 28 {os != "openbsd" & os != "freebsd" & os != "macos"} 29 ["./configure" "-prefix" prefix "-cc" "cc" "-aspp" "cc -c"] 30 {os = "openbsd" | os = "freebsd" | os = "macos"} 31 [make "world"] 32 [make "world.opt"] 33] 34install: [ 35 [make "install"] 36 ["mkdir" "-p" "%{prefix}%/lib/ocaml/compiler-libs"] 37 ["cp" "-r" "typing" "parsing" "utils" "%{prefix}%/lib/ocaml/compiler-libs/"] 38] 39patches: [ 40 "fix-binutils.patch" {os != "win32"} 41 "alt-signal-stack.patch" 42] 43url { 44 src: "http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz" 45 checksum: [ 46 "sha256=d964b385e110c1517c9de1c6331476d5e7a3585cc692b6b6b8973f3a9be7da4b" 47 "md5=3ba7cc65123c3579f14e7c726d3ee782" 48 ] 49} 50extra-source "fix-binutils.patch" { 51 src: 52 "https://gist.githubusercontent.com/vicuna/864c7c8a5c03917ca1482d8fbba12d36/raw/fa7664cecc98d7d5d97ee6d8fb035c2e229bff57/0007-Fix-ocamlopt-w.r.t.-binutils-2.21.patch" 53 checksum: [ 54 "sha256=612a9ac108bbfce2238aa5634123da162f0315dedb219958be705e0d92dcdd8e" 55 "md5=8c664a0a346424ea2ec6fc6f713170c6" 56 ] 57} 58available: arch != "arm64" & arch != "arm32" & arch != "ppc64" 59extra-source "alt-signal-stack.patch" { 60 src: "https://github.com/ocaml/ocaml/commit/c90c2c8cf371faab293ff557868dfbda631518e7.patch?full_index=1" 61 checksum: "sha256=2d0a94ee460ba5c3ea19f8641e17a64b40e521d3adc97707b248977fdef97c5d" 62}