github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/ocaml/test-fixtures/ocaml-base-compiler.4.14.0/opam (about) 1 opam-version: "2.0" 2 synopsis: "Official release 4.14.0" 3 maintainer: [ 4 "David Allsopp <david@tarides.com>" 5 "Florian Angeletti <florian.angeletti@inria.fr>" 6 ] 7 authors: "Xavier Leroy and many contributors" 8 license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" 9 homepage: "https://ocaml.org" 10 bug-reports: "https://github.com/ocaml/opam-repository/issues" 11 depends: [ 12 "ocaml" {= "4.14.0" & post} 13 "base-unix" {post} 14 "base-bigarray" {post} 15 "base-threads" {post} 16 "host-arch-arm32" {arch = "arm32" & post} 17 "host-arch-arm64" {arch = "arm64" & post} 18 "host-arch-ppc64" {arch = "ppc64" & post} 19 "host-arch-riscv64" {arch = "riscv64" & post} 20 "host-arch-s390x" {arch = "s390x" & post} 21 "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post} 22 "host-arch-x86_64" {os != "win32" & arch = "x86_64" & post} 23 "host-arch-unknown" 24 {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & 25 arch != "riscv64" & 26 arch != "s390x" & 27 arch != "x86_32" & 28 arch != "x86_64" & 29 post} 30 (("arch-x86_64" {os = "win32" & arch = "x86_64"} & 31 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) | 32 "system-msvc")) | 33 ("arch-x86_32" {os = "win32"} & 34 (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) | 35 "system-msvc")) | 36 "host-system-other" {os != "win32" & post}) 37 "ocaml-options-vanilla" {post} 38 "flexdll" {>= "0.36" & os = "win32"} 39 ] 40 conflict-class: "ocaml-core-compiler" 41 flags: compiler 42 setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs" 43 build: [ 44 [ 45 "./configure" 46 "--host=x86_64-pc-windows" 47 {system-msvc:installed & arch-x86_64:installed} 48 "--host=x86_64-w64-mingw32" 49 {os-distribution = "cygwin" & system-mingw:installed & 50 arch-x86_64:installed} 51 "--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed} 52 "--host=i686-w64-mingw32" 53 {os-distribution = "cygwin" & system-mingw:installed & 54 arch-x86_32:installed} 55 "--prefix=%{prefix}%" 56 "--docdir=%{doc}%/ocaml" 57 "--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed} 58 "-C" 59 "CC=cc" {os = "openbsd" | os = "macos"} 60 "ASPP=cc -c" {os = "openbsd" | os = "macos"} 61 ] 62 [make "-j%{jobs}%"] 63 ] 64 install: [make "install"] 65 build-env: MSYS2_ARG_CONV_EXCL = "*" 66 post-messages: [ 67 """\ 68 A failure in the middle of the build may be caused by build parallelism 69 (enabled by default). 70 Please file a bug report at https://github.com/ocaml/opam-repository/issues""" 71 {failure & jobs > "1"} 72 """\ 73 You can try installing again including --jobs=1 74 to force a sequential build instead.""" 75 {failure & jobs > "1" & opam-version >= "2.0.5"} 76 ] 77 dev-repo: "git+https://github.com/ocaml/ocaml#4.14" 78 url { 79 src: "https://github.com/ocaml/ocaml/archive/4.14.0.tar.gz" 80 checksum: 81 "sha256=39f44260382f28d1054c5f9d8bf4753cb7ad64027da792f7938344544da155e8" 82 } 83 extra-source "ocaml-base-compiler.install" { 84 src: 85 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install" 86 checksum: [ 87 "sha256=79f2a1a5044a91350a0eb6ce12e261a72a2855c094c425cddf3860e58c486678" 88 "md5=3e969b841df1f51ca448e6e6295cb451" 89 ] 90 } 91 x-env-path-rewrite: [ 92 [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"] 93 ]