this repo has no description
1opam-version: "2.0" 2license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 3synopsis: "Official release of OCaml 4.12.1" 4maintainer: [ 5 "David Allsopp <david@tarides.com>" 6 "Florian Angeletti <florian.angeletti@inria.fr>" 7] 8authors: ["Xavier Leroy" "Damien Doligez" "Alain Frisch" "Jacques Garrigue" "Didier Rémy" "Jérôme Vouillon"] 9homepage: "https://ocaml.org" 10bug-reports: "https://github.com/ocaml/opam-repository/issues" 11dev-repo: "git+https://github.com/ocaml/ocaml.git#4.12" 12depends: [ 13 "ocaml" {= "4.12.1" & post} 14 "base-unix" {post} 15 "base-bigarray" {post} 16 "base-threads" {post} 17] 18conflict-class: "ocaml-core-compiler" 19flags: compiler 20setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 21build: [ 22 [ 23 "./configure" 24 "--prefix=%{prefix}%" 25 "-C" 26 "--with-afl" {ocaml-option-afl:installed} 27 "--disable-native-compiler" {ocaml-option-bytecode-only:installed} 28 "--disable-force-safe-string" {ocaml-option-default-unsafe-string:installed} 29 "DEFAULT_STRING=unsafe" {ocaml-option-default-unsafe-string:installed} 30 "--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed} 31 "--enable-flambda" {ocaml-option-flambda:installed} 32 "--enable-frame-pointers" {ocaml-option-fp:installed} 33 "--disable-naked-pointers" {ocaml-option-nnp:installed} 34 "--enable-naked-pointers-checker" {ocaml-option-nnpchecker:installed} 35 "CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 36 "CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"} 37 "CFLAGS=-Os" {ocaml-option-musl:installed} 38 "CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"} 39 "CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"} 40 "ASPP=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")} 41 "ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"} 42 "ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"} 43 "ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"} 44 "AS=as --32" {ocaml-option-32bit:installed & os="linux"} 45 "AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"} 46 "--host=i386-linux" {ocaml-option-32bit:installed & os="linux"} 47 "--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"} 48 "PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"} 49 "LIBS=-static" {ocaml-option-static:installed} 50 ] 51 [make "-j%{jobs}%"] 52] 53install: [make "install"] 54url { 55 src: "https://github.com/ocaml/ocaml/archive/4.12.1.tar.gz" 56 checksum: "sha256=f5a48a90557cb47ace7b1590fcab1362a1af38629a218350f69c225c57e96a41" 57} 58post-messages: [ 59 "A failure in the middle of the build may be caused by build parallelism 60 (enabled by default). 61 Please file a bug report at https://github.com/ocaml/opam-repository/issues" 62 {failure & jobs > 1} 63 "You can try installing again including --jobs=1 64 to force a sequential build instead." 65 {failure & jobs > 1 & opam-version >= "2.0.5"} 66] 67depopts: [ 68 "ocaml-option-32bit" 69 "ocaml-option-afl" 70 "ocaml-option-bytecode-only" 71 "ocaml-option-default-unsafe-string" 72 "ocaml-option-no-flat-float-array" 73 "ocaml-option-flambda" 74 "ocaml-option-fp" 75 "ocaml-option-musl" 76 "ocaml-option-static" 77 "ocaml-option-nnp" 78 "ocaml-option-nnpchecker" 79] 80patches: ["alt-signal-stack.patch"] 81extra-source "alt-signal-stack.patch" { 82 src: "https://github.com/ocaml/ocaml/commit/1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb.patch?full_index=1" 83 checksum: "sha256=7b23f163461d1ca7305a132edc5f014d5dc0d2b1027a34292043c7a3d1d43db9" 84} 85extra-source "ocaml-variants.install" { 86 src: 87 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/ocaml-variants.install" 88 checksum: [ 89 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 90 "md5=3e969b841df1f51ca448e6e6295cb451" 91 ] 92}