this repo has no description
1opam-version: "2.0" 2synopsis: "OCaml 4.14.2 Secondary Switch Compiler" 3maintainer: "David Allsopp <david@tarides.com>" 4authors: "Xavier Leroy and many contributors" 5license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 6homepage: "https://ocaml.org" 7bug-reports: "https://github.com/ocaml/opam-repository/issues" 8dev-repo: "git+https://github.com/ocaml/ocaml#4.14" 9depends: [ 10 # Port selection (Windows) 11 # amd64 mingw-w64 / MSVC 12 (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 13 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) | 14 "system-msvc")) | 15 # i686 mingw-w64 / MSVC 16 ("arch-x86_32" {os = "win32"} & 17 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) | 18 "system-msvc")) | 19 # Non-Windows systems need to install something to satisfy this formula, so 20 # repeat the base-unix dependency 21 "base-unix" {os != "win32" & post}) 22 23 # Support Packages 24 "flexdll" {>= "0.36" & os = "win32"} 25] 26build-env: MSYS2_ARG_CONV_EXCL = "*" 27build: [ 28 [ 29 "./configure" 30 "--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed} 31 "--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed} 32 "--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed} 33 "--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed} 34 "--prefix=%{_:share}%" 35 "--libdir=%{_:share}%/lib" 36 "--disable-stdlib-manpages" 37 "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 38 "--disable-debugger" 39 "--disable-installing-bytecode-programs" 40 "--disable-debug-runtime" 41 "--disable-instrumented-runtime" 42 "CC=cc" {os = "openbsd" | os = "freebsd" | os = "macos"} 43 "ASPP=cc -c" {os = "openbsd" | os = "freebsd" | os = "macos"} 44 ] 45 [make "-j%{jobs}%"] 46] 47install: [make "install"] 48url { 49 src: "https://github.com/ocaml/ocaml/archive/4.14.2.tar.gz" 50 checksum: "sha256=c2d706432f93ba85bd3383fa451d74543c32a4e84a1afaf3e8ace18f7f097b43" 51} 52description: "Installs an additional compiler to the opam switch in 53%{_:share}%/ocaml-secondary-compiler which can be accessed using 54`ocamlfind -toolchain secondary`."