this repo has no description

Compiler support for native Windows for 4.13+

Adds support for the mingw-w64 and MSVC native Windows ports of OCaml
for OCaml 4.13.0 onwards.

Two minor updates are required to the options packages:
- ocaml-option-nnpchecker is supported by the 64-bit MSVC port (but
not by the mingw-w64, because it relies on SEH, which mingw-w64 GCC
doesn't support)
- ocaml-option-tsan is not supported on any Windows ports (sadly)

The conf-msvc32 and conf-msvc64 packages can be co-installed, but only
one compiler may be activated at a time. This is expressed by the
ocaml-env-msvc32 and ocaml-env-msvc64 packages, which ensure that only
configuration is set in the environment. Placing these updates in a
separate package also ensure that the setenv updates are only ever
considered when actually needed (avoiding the issues with opam 2.0.10
and 2.0.4 not supporting += "" in environment updates).

ocaml-system is updated to install the appropriate host-arch- package
dependent on the opam 2.1 sys-ocaml-arch variable. This variable is the
value of ocamlc -config-var architecture, but with amd64 changed to
x86_64 and i386 changed to i686. If this variable is not defined by opam
(for example, for opam 2.0, or where an opam root was upgraded from 2.0
to 2.1), then host-arch-unknown is installed. For Windows, this variable
must be defined. host-system-mingw, host-system-msvc or
host-system-other are installed dependent on the opam 2.1 sys-ocaml-libc
("msvc" for mingw-w64 and MSVC ports and "libc" for everything else) and
sys-ocaml-cc ("cl" for the MSVC port and "cc" for everything else)
variables.

ocaml-base-compiler and ocaml-variants both recognise the arch-x86_64
and arch-x86_32 packages for Windows which allow selecting between the
32-bit and 64-bit variants of the Windows ports (note that this is
distinct from the somewhat ad hoc ocaml-option-32bit package) and
similarly system-mingw and system-msvc to select between the mingw-w64
and MSVC ports. Both packages use the flexdll source package to
bootstrap flexlink and the FlexDLL runtime objects as part of the
compiler build.

All three packages will configure either the appropriate depexts and
mingw-w64 shims or Microsoft Visual Studio Tools environment for the
given compiler port, and ensure that these are placed into the
environment as part of opam env.

Changed files
+2039 -65
packages
arch-x86_32
arch-x86_32.1
arch-x86_64
arch-x86_64.1
ocaml
ocaml.4.13.0
ocaml.4.13.1
ocaml.4.13.2
ocaml.4.14.0
ocaml.4.14.1
ocaml.4.14.2
ocaml.4.14.3
ocaml.5.0.0
ocaml.5.0.1
ocaml.5.1.0
ocaml.5.1.1
ocaml.5.1.2
ocaml.5.2.0
ocaml.5.3.0
ocaml-base-compiler
ocaml-base-compiler.4.13.0
ocaml-base-compiler.4.13.1
ocaml-base-compiler.4.14.0
ocaml-base-compiler.4.14.1
ocaml-base-compiler.4.14.2
ocaml-base-compiler.5.0.0
ocaml-base-compiler.5.1.0
ocaml-base-compiler.5.1.1
ocaml-base-compiler.5.2.0
ocaml-base-compiler.5.2.0~alpha1
ocaml-base-compiler.5.2.0~beta1
ocaml-base-compiler.5.2.0~beta2
ocaml-base-compiler.5.2.0~rc1
ocaml-env-mingw32
ocaml-env-mingw32.1
ocaml-env-mingw64
ocaml-env-mingw64.1
ocaml-env-msvc32
ocaml-env-msvc32.1
ocaml-env-msvc64
ocaml-env-msvc64.1
ocaml-option-bytecode-only
ocaml-option-bytecode-only.1
ocaml-option-nnpchecker
ocaml-option-nnpchecker.1
ocaml-option-tsan
ocaml-option-tsan.1
ocaml-options-vanilla
ocaml-options-vanilla.1
ocaml-system
ocaml-system.4.13.0
ocaml-system.4.13.1
ocaml-system.4.14.0
ocaml-system.4.14.1
ocaml-system.4.14.2
ocaml-system.5.0.0
ocaml-system.5.1.0
ocaml-system.5.1.1
ocaml-system.5.2.0
ocaml-variants
ocaml-variants.4.13.0+options
ocaml-variants.4.13.1+options
ocaml-variants.4.13.2+trunk
ocaml-variants.4.14.0+options
ocaml-variants.4.14.1+options
ocaml-variants.4.14.2+options
ocaml-variants.4.14.3+trunk
ocaml-variants.5.0.0+options
ocaml-variants.5.0.1+trunk
ocaml-variants.5.1.0+options
ocaml-variants.5.1.1+effect-syntax
ocaml-variants.5.1.1+options
ocaml-variants.5.1.2+trunk
ocaml-variants.5.2.0+options
ocaml-variants.5.2.0+statmemprof
ocaml-variants.5.2.0~alpha1+options
ocaml-variants.5.2.0~beta1+options
ocaml-variants.5.2.0~beta2+options
ocaml-variants.5.2.0~rc1+options
ocaml-variants.5.2.1+trunk
ocaml-variants.5.3.0+trunk
system-mingw
system-mingw.1
system-msvc
system-msvc.1
+4 -1
packages/arch-x86_32/arch-x86_32.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: compiler
available: os = "win32"
-
depends: "ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"}
+
depends: [
+
("ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"})
+
"host-arch-x86_32" {post}
+
]
conflict-class: "ocaml-arch"
+4 -1
packages/arch-x86_64/arch-x86_64.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: compiler
available: os = "win32"
-
depends: "ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"}
+
depends: [
+
("ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"})
+
"host-arch-x86_64" {post}
+
]
conflict-class: "ocaml-arch"
+45 -1
packages/ocaml-base-compiler/ocaml-base-compiler.4.13.0/opam
···
authors: "Xavier Leroy and many contributors"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
-
dev-repo: "git+https://github.com/ocaml/ocaml"
+
dev-repo: "git+https://github.com/ocaml/ocaml#4.13"
depends: [
+
# This is OCaml 4.13.0
"ocaml" {= "4.13.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+45 -1
packages/ocaml-base-compiler/ocaml-base-compiler.4.13.1/opam
···
authors: "Xavier Leroy and many contributors"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
-
dev-repo: "git+https://github.com/ocaml/ocaml"
+
dev-repo: "git+https://github.com/ocaml/ocaml#4.13"
depends: [
+
# This is OCaml 4.13.1
"ocaml" {= "4.13.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+45 -1
packages/ocaml-base-compiler/ocaml-base-compiler.4.14.0/opam
···
authors: "Xavier Leroy and many contributors"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
-
dev-repo: "git+https://github.com/ocaml/ocaml"
+
dev-repo: "git+https://github.com/ocaml/ocaml#4.14"
depends: [
+
# This is OCaml 4.14.0
"ocaml" {= "4.14.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+45 -1
packages/ocaml-base-compiler/ocaml-base-compiler.4.14.1/opam
···
authors: "Xavier Leroy and many contributors"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
-
dev-repo: "git+https://github.com/ocaml/ocaml"
+
dev-repo: "git+https://github.com/ocaml/ocaml#4.14"
depends: [
+
# This is OCaml 4.14.1
"ocaml" {= "4.14.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+45 -1
packages/ocaml-base-compiler/ocaml-base-compiler.4.14.2/opam
···
authors: "Xavier Leroy and many contributors"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
-
dev-repo: "git+https://github.com/ocaml/ocaml"
+
dev-repo: "git+https://github.com/ocaml/ocaml#4.14"
depends: [
+
# This is OCaml 4.14.2
"ocaml" {= "4.14.2" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+41 -1
packages/ocaml-base-compiler/ocaml-base-compiler.5.0.0/opam
···
authors: "Xavier Leroy and many contributors"
homepage: "https://ocaml.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
-
dev-repo: "git+https://github.com/ocaml/ocaml"
+
dev-repo: "git+https://github.com/ocaml/ocaml#5.0"
depends: [
+
# This is OCaml 5.0.0
"ocaml" {= "5.0.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+40
packages/ocaml-base-compiler/ocaml-base-compiler.5.1.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.1"
depends: [
+
# This is OCaml 5.1.0
"ocaml" {= "5.1.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+40
packages/ocaml-base-compiler/ocaml-base-compiler.5.1.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.1"
depends: [
+
# This is OCaml 5.1.1
"ocaml" {= "5.1.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+40
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+42 -1
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0~alpha1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+42 -1
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0~beta1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+42 -1
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0~beta2/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+42 -1
packages/ocaml-base-compiler/ocaml-base-compiler.5.2.0~rc1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# OCaml with default configuration (no flambda, TSAN, etc.)
"ocaml-options-vanilla" {post}
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
+
conflicts: "system-msvc"
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"CC=cc" {os = "openbsd" | os = "macos"}
"ASPP=cc -c" {os = "openbsd" | os = "macos"}
+28
packages/ocaml-env-mingw32/ocaml-env-mingw32.1/opam
···
+
opam-version: "2.0"
+
synopsis: "GCC mingw-w64 OCaml Runtime Dependency (32-bit)"
+
description: """
+
This package is an internal part of the implementation of the OCaml compiler in
+
opam-repository.
+
+
This package is used to create an indirection between the OCaml compiler
+
packages and conf-mingw-w64-gcc-x86_64. The compiler packages must have one of
+
conf-mingw-w64-gcc-i686 or conf-mingw-w64-gcc-x86_64 depending on configuration,
+
but if they directly refer to both packages in their depends fields then the
+
subsequent installation of the _other_ C compiler package would trigger a
+
rebuild of the OCaml compiler package, because it changes its dependency cone.
+
By having the compiler packages instead depend on either ocaml-env-mingw64 or
+
ocaml-env-mingw32, the installation of conf-mingw-w64-gcc-x86_64 into a switch
+
already containing ocaml-env-mingw32 does not trigger a rebuild of the OCaml
+
compiler, because ocaml-env-mingw64 is not installed."""
+
maintainer: "David Allsopp <david@tarides.com>"
+
authors: "David Allsopp"
+
license: "CC0-1.0+"
+
homepage: "https://opam.ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
depends: [
+
"host-system-mingw" {post}
+
"host-arch-x86_32" {post}
+
"conf-mingw-w64-gcc-i686"
+
]
+
conflict-class: "ocaml-env-mingw"
+
flags: conf
+28
packages/ocaml-env-mingw64/ocaml-env-mingw64.1/opam
···
+
opam-version: "2.0"
+
synopsis: "GCC mingw-w64 OCaml Runtime Dependency (64-bit)"
+
description: """
+
This package is an internal part of the implementation of the OCaml compiler in
+
opam-repository.
+
+
This package is used to create an indirection between the OCaml compiler
+
packages and conf-mingw-w64-gcc-i686. The compiler packages must have one of
+
conf-mingw-w64-gcc-i686 or conf-mingw-w64-gcc-x86_64 depending on configuration,
+
but if they directly refer to both packages in their depends fields then the
+
subsequent installation of the _other_ C compiler package would trigger a
+
rebuild of the OCaml compiler package, because it changes its dependency cone.
+
By having the compiler packages instead depend on either ocaml-env-mingw64 or
+
ocaml-env-mingw32, the installation of conf-mingw-w64-gcc-i686 into a switch
+
already containing ocaml-env-mingw64 does not trigger a rebuild of the OCaml
+
compiler, because ocaml-env-mingw32 is not installed."""
+
maintainer: "David Allsopp <david@tarides.com>"
+
authors: "David Allsopp"
+
license: "CC0-1.0+"
+
homepage: "https://opam.ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
depends: [
+
"host-system-mingw" {post}
+
"host-arch-x86_64" {post}
+
"conf-mingw-w64-gcc-x86_64"
+
]
+
conflict-class: "ocaml-env-mingw"
+
flags: conf
+35
packages/ocaml-env-msvc32/ocaml-env-msvc32.1/opam
···
+
opam-version: "2.0"
+
synopsis: "Microsoft C Compiler OCaml Runtime Dependency (32-bit)"
+
description: """
+
This package is an internal part of the implementation of the OCaml compiler in
+
opam-repository. It is used to store the active environment variable settings
+
for Microsoft Visual Studio and adds them to the environment.
+
"""
+
maintainer: "David Allsopp <david@tarides.com>"
+
authors: "David Allsopp"
+
license: "CC0-1.0+"
+
homepage: "https://opam.ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
# opam-repository mandates 2.2.0+ when setenv may perform `+= ""`, since some
+
# versions of 2.0.x and 2.1.x crash on these updates.
+
available: opam-version >= "2.2.0~"
+
depends: [
+
"host-system-msvc" {post}
+
"host-arch-x86_32" {post}
+
"conf-msvc32"
+
]
+
conflict-class: "ocaml-env-msvc"
+
flags: conf
+
build: [
+
["xcopy" "%{conf-msvc32:share}%\\conf-msvc32.config" "%{_:name}%.config*"]
+
]
+
setenv: [
+
[PATH += "%{_:msvs-bin}%"]
+
[INCLUDE += "%{_:msvs-inc}%"]
+
[LIB += "%{_:msvs-lib}%"]
+
]
+
x-env-path-rewrite: [
+
[ PATH false ]
+
[ INCLUDE false ]
+
[ LIB false ]
+
]
+35
packages/ocaml-env-msvc64/ocaml-env-msvc64.1/opam
···
+
opam-version: "2.0"
+
synopsis: "Microsoft C Compiler OCaml Runtime Dependency (64-bit)"
+
description: """
+
This package is an internal part of the implementation of the OCaml compiler in
+
opam-repository. It is used to store the active environment variable settings
+
for Microsoft Visual Studio and adds them to the environment.
+
"""
+
maintainer: "David Allsopp <david@tarides.com>"
+
authors: "David Allsopp"
+
license: "CC0-1.0+"
+
homepage: "https://opam.ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
# opam-repository mandates 2.2.0+ when setenv may perform `+= ""`, since some
+
# versions of 2.0.x and 2.1.x crash on these updates.
+
available: opam-version >= "2.2.0~"
+
depends: [
+
"host-system-msvc" {post}
+
"host-arch-x86_64" {post}
+
"conf-msvc64"
+
]
+
conflict-class: "ocaml-env-msvc"
+
flags: conf
+
build: [
+
["xcopy" "%{conf-msvc64:share}%\\conf-msvc64.config" "%{_:name}%.config*"]
+
]
+
setenv: [
+
[PATH += "%{_:msvs-bin}%"]
+
[INCLUDE += "%{_:msvs-inc}%"]
+
[LIB += "%{_:msvs-lib}%"]
+
]
+
x-env-path-rewrite: [
+
[ PATH false ]
+
[ INCLUDE false ]
+
[ LIB false ]
+
]
+7 -1
packages/ocaml-option-bytecode-only/ocaml-option-bytecode-only.1/opam
···
license: "CC0-1.0+"
depends: [
"ocaml-variants" {post & >= "4.12.0~"} |
-
"ocaml-base-compiler" {post & >= "5.0.0~~" & arch != "arm64" & arch != "x86_64"}
+
# See equivalent constraint in ocaml-options-vanilla
+
# Windows is permitted to install 32-bit versions of ocaml-base-compiler on
+
# 64-bit systems hence the (temporary) addition of the `os = "win32"` here,
+
# at least until the ocaml-option- / base- mess is fixed. Note that this puts
+
# 64-bit Windows into the same class as ppc64, riscv64 and s390x where
+
# ocaml-option-bytecode-only can be installed, but has no effect.
+
"ocaml-base-compiler" {post & >= "5.0.0~~" & arch != "arm64" & (arch != "x86_64" | os = "win32")}
]
conflicts: [ "ocaml-option-afl" "ocaml-option-fp" "ocaml-option-flambda" ]
maintainer: "David Allsopp <david@tarides.com>"
+2 -1
packages/ocaml-option-nnpchecker/ocaml-option-nnpchecker.1/opam
···
license: "CC0-1.0+"
depends: [
"ocaml-variants" {post & ((>= "4.12.0~" & arch = "x86_64") | >= "4.14.0~") & < "5.0.0~~"}
+
"system-msvc" {os = "win32"}
]
available:
-
(arch = "x86_64" & (os = "linux" | os = "macos" | os = "openbsd" | os = "freebsd" | os = "sunos"))
+
(arch = "x86_64" & (os = "win32" | os = "linux" | os = "macos" | os = "openbsd" | os = "freebsd" | os = "sunos"))
| (arch = "arm64" & (os = "linux" | os = "macos"))
conflicts: [ "ocaml-option-nnp" "ocaml-option-32bit" ]
maintainer: "David Allsopp <david@tarides.com>"
+1
packages/ocaml-option-tsan/ocaml-option-tsan.1/opam
···
"ocaml-option-leak-sanitizer"
"ocaml-option-address-sanitier"
]
+
available: os != "win32"
maintainer: "David Allsopp <david@tarides.com>"
flags: compiler
+7 -1
packages/ocaml-options-vanilla/ocaml-options-vanilla.1/opam
···
conflicts: [
"ocaml-option-32bit"
"ocaml-option-afl"
-
"ocaml-option-bytecode-only" {arch = "arm64" | arch = "x86_64" }
+
# See equivalent constraint in ocaml-option-bytecode-only
+
# Windows is permitted to install 32-bit versions of ocaml-base-compiler on
+
# 64-bit systems hence the (temporary) addition of the `os = "win32"` here,
+
# at least until the ocaml-option- / base- mess is fixed. Note that this puts
+
# 64-bit Windows into the same class as ppc64, riscv64 and s390x where
+
# ocaml-option-bytecode-only can be installed, but has no effect.
+
"ocaml-option-bytecode-only" {arch = "arm64" | (arch = "x86_64" & os != "win32") }
"ocaml-option-default-unsafe-string"
"ocaml-option-flambda"
"ocaml-option-fp"
+38 -2
packages/ocaml-system/ocaml-system.4.13.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 4.13.0
+
"ocaml" {= "4.13.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "4.13.0"
+
available: sys-ocaml-version = "4.13.0" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+38 -2
packages/ocaml-system/ocaml-system.4.13.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 4.13.1
+
"ocaml" {= "4.13.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "4.13.1"
+
available: sys-ocaml-version = "4.13.1" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+38 -2
packages/ocaml-system/ocaml-system.4.14.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 4.14.0
+
"ocaml" {= "4.14.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "4.14.0"
+
available: sys-ocaml-version = "4.14.0" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+38 -2
packages/ocaml-system/ocaml-system.4.14.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 4.14.1
+
"ocaml" {= "4.14.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "4.14.1"
+
available: sys-ocaml-version = "4.14.1" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+38 -2
packages/ocaml-system/ocaml-system.4.14.2/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 4.14.2
+
"ocaml" {= "4.14.2" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "4.14.2"
+
available: sys-ocaml-version = "4.14.2" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+39 -2
packages/ocaml-system/ocaml-system.5.0.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 5.0.0
+
"ocaml" {= "5.0.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
# There is no official MSVC support for 5.0.0
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "5.0.0"
+
available: sys-ocaml-version = "5.0.0" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+41 -2
packages/ocaml-system/ocaml-system.5.1.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 5.1.0
+
"ocaml" {= "5.1.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
# There is no official MSVC support for 5.1.0
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-zstd-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-zstd-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "5.1.0"
+
available: sys-ocaml-version = "5.1.0" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+41 -2
packages/ocaml-system/ocaml-system.5.1.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 5.1.1
+
"ocaml" {= "5.1.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
# There is no official MSVC support for 5.1.1
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-zstd-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-zstd-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "5.1.1"
+
available: sys-ocaml-version = "5.1.1" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+41 -2
packages/ocaml-system/ocaml-system.5.2.0/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml"
depends: [
-
"ocaml" {post}
+
# This is OCaml 5.2.0
+
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-threads" {post}
"base-bigarray" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture
+
"host-arch-arm32" {?sys-ocaml-arch & sys-ocaml-arch = "arm" & post}
+
"host-arch-arm64" {?sys-ocaml-arch & sys-ocaml-arch = "arm64" & post}
+
"host-arch-ppc64" {?sys-ocaml-arch & sys-ocaml-arch = "power" & post}
+
"host-arch-riscv64" {?sys-ocaml-arch & sys-ocaml-arch = "riscv" & post}
+
"host-arch-s390x" {?sys-ocaml-arch & sys-ocaml-arch = "s390x" & post}
+
"host-arch-x86_32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & post}
+
"host-arch-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & post}
+
"host-arch-unknown" {!(?sys-ocaml-arch) |
+
sys-ocaml-arch != "arm" &
+
sys-ocaml-arch != "arm64" &
+
sys-ocaml-arch != "power" &
+
sys-ocaml-arch != "riscv" &
+
sys-ocaml-arch != "s390x" &
+
sys-ocaml-arch != "i686" &
+
sys-ocaml-arch != "x86_64" & post}
+
+
# System (Windows-only at present)
+
"host-system-mingw" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
# There is no official MSVC support for 5.2.0
+
"host-system-msvc" {?sys-ocaml-arch & sys-ocaml-cc = "msvc" & post}
+
"host-system-other" {?sys-ocaml-arch & sys-ocaml-libc != "msvc" & post}
+
+
# Environment configuration (Windows-only)
+
# NB There are not "system" distributions of OCaml on Windows; the support
+
# here is intended for binary caching setups, choosing to install a build
+
# of OCaml external to opam, but still using opam to provide the C compiler
+
# configuration.
+
"conf-mingw-w64-gcc-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-gcc-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-zstd-x86_64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"conf-mingw-w64-zstd-i686" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & post}
+
"mingw-w64-shims" {?sys-ocaml-arch & sys-ocaml-libc = "msvc" & sys-ocaml-cc = "cc" & os-distribution = "cygwin" & post}
+
"ocaml-env-msvc32" {?sys-ocaml-arch & sys-ocaml-arch = "i686" & sys-ocaml-cc = "msvc" & post}
+
"ocaml-env-msvc64" {?sys-ocaml-arch & sys-ocaml-arch = "x86_64" & sys-ocaml-cc = "msvc" & post}
]
conflict-class: "ocaml-core-compiler"
-
available: sys-ocaml-version = "5.2.0"
+
available: sys-ocaml-version = "5.2.0" & (os != "win32" | sys-ocaml-libc = "msvc")
flags: compiler
build: ["ocaml" "gen_ocaml_config.ml"]
substs: "gen_ocaml_config.ml"
+43
packages/ocaml-variants/ocaml-variants.4.13.0+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.13"
depends: [
+
# This is OCaml 4.13.0
"ocaml" {= "4.13.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+43
packages/ocaml-variants/ocaml-variants.4.13.1+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.13"
depends: [
+
# This is OCaml 4.13.1
"ocaml" {= "4.13.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+44
packages/ocaml-variants/ocaml-variants.4.13.2+trunk/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.13"
depends: [
+
# This is OCaml 4.13.2
"ocaml" {= "4.13.2" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+43
packages/ocaml-variants/ocaml-variants.4.14.0+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.14"
depends: [
+
# This is OCaml 4.14.0
"ocaml" {= "4.14.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+43
packages/ocaml-variants/ocaml-variants.4.14.1+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.14"
depends: [
+
# This is OCaml 4.14.1
"ocaml" {= "4.14.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+43
packages/ocaml-variants/ocaml-variants.4.14.2+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.14"
depends: [
+
# This is OCaml 4.14.2
"ocaml" {= "4.14.2" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+44
packages/ocaml-variants/ocaml-variants.4.14.3+trunk/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#4.14"
depends: [
+
# This is OCaml 4.14.3
"ocaml" {= "4.14.3" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
"system-msvc") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Support Packages
+
"flexdll" {>= "0.36" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
+
build-env: MSYS2_ARG_CONV_EXCL = "*"
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+44 -2
packages/ocaml-variants/ocaml-variants.5.0.0+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.0"
depends: [
+
# This is OCaml 5.0.0
"ocaml" {= "5.0.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Only amd64 and arm64 support the native compiler
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
to force a sequential build instead."
{failure & jobs > 1 & opam-version >= "2.0.5"}
]
-
conflicts: [ "ocaml-option-fp" ]
+
conflicts: [
+
"ocaml-option-fp"
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
"ocaml-option-bytecode-only"
"ocaml-option-no-flat-float-array"
"ocaml-option-flambda"
-
"ocaml-option-fp"
"ocaml-option-musl"
"ocaml-option-leak-sanitizer"
"ocaml-option-address-sanitizer"
+46 -2
packages/ocaml-variants/ocaml-variants.5.0.1+trunk/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.0"
depends: [
+
# This is OCaml 5.0.1
"ocaml" {= "5.0.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# Only amd64 and arm64 support the native compiler
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
to force a sequential build instead."
{failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
]
-
conflicts: [ "ocaml-option-fp" ]
+
conflicts: [
+
"ocaml-option-fp"
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+44 -1
packages/ocaml-variants/ocaml-variants.5.1.0+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.1"
depends: [
+
# This is OCaml 5.1.0
"ocaml" {= "5.1.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# POWER and all the 32-bit architectures are bytecode-only
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
"--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
"--enable-flambda" {ocaml-option-flambda:installed}
"--enable-frame-pointers" {ocaml-option-fp:installed}
-
"--without-zstd" {ocaml-option-no-compression:installed}
+
"--without-zstd" {ocaml-option-no-compression:installed}
"CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
"CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
"CFLAGS=-Os" {ocaml-option-musl:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.1.0.tar.gz"
checksum: "sha256=43a3ac7aab7f8880f2bb6221317be55319b356e517622fdc28359fe943e6a450"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.1.1+effect-syntax/opam
···
bug-reports: "https://github.com/ocaml/ocaml/issues"
dev-repo: "git+https://github.com/xavierleroy/ocaml.git#5.1.1+effect-syntax"
depends: [
+
# This is OCaml 5.1.1
"ocaml" {= "5.1.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-effects" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# POWER and all the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/xavierleroy/ocaml/archive/5.1.1+effect-syntax.tar.gz"
checksum: "sha256=300b540f60a823933af76c572e5931b502634830ea838f96bead309336c44579"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+44 -1
packages/ocaml-variants/ocaml-variants.5.1.1+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.1"
depends: [
+
# This is OCaml 5.1.1
"ocaml" {= "5.1.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# POWER and all the 32-bit architectures are bytecode-only
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
"--disable-flat-float-array" {ocaml-option-no-flat-float-array:installed}
"--enable-flambda" {ocaml-option-flambda:installed}
"--enable-frame-pointers" {ocaml-option-fp:installed}
-
"--without-zstd" {ocaml-option-no-compression:installed}
+
"--without-zstd" {ocaml-option-no-compression:installed}
"CC=cc" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
"CC=musl-gcc" {ocaml-option-musl:installed & os-distribution!="alpine"}
"CFLAGS=-Os" {ocaml-option-musl:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz"
checksum: "sha256=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -16
packages/ocaml-variants/ocaml-variants.5.1.2+trunk/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.1"
depends: [
+
# This is OCaml 5.1.2
"ocaml" {= "5.1.2" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# POWER and all the 32-bit architectures are bytecode-only
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
"CC=clang -fsanitize=address -fno-omit-frame-pointer -O1 -g" {ocaml-option-address-sanitizer:installed & os="macos"}
"CC=gcc -m32" {ocaml-option-32bit:installed & os="linux"}
"CC=gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" {ocaml-option-32bit:installed & os="macos"}
-
"ASPP=cc -c" {!ocaml-option-32bit:installed & !ocaml-option-musl:installed & (os="openbsd"|os="macos")}
"ASPP=musl-gcc -c" {ocaml-option-musl:installed & os-distribution!="alpine"}
-
"ASPP=gcc -m32 -c" {ocaml-option-32bit:installed & os="linux"}
-
"ASPP=gcc -arch i386 -m32 -c" {ocaml-option-32bit:installed & os="macos"}
-
"AS=as --32" {ocaml-option-32bit:installed & os="linux"}
-
"AS=as -arch i386" {ocaml-option-32bit:installed & os="macos"}
"--host=i386-linux" {ocaml-option-32bit:installed & os="linux"}
"--host=i386-apple-darwin13.2.0" {ocaml-option-32bit:installed & os="macos"}
-
"PARTIALLD=ld -r -melf_i386" {ocaml-option-32bit:installed & os="linux"}
"LIBS=-static" {ocaml-option-static:installed}
"--disable-warn-error"
]
···
url {
src: "https://github.com/ocaml/ocaml/archive/5.1.tar.gz"
}
-
post-messages: [
-
"A failure in the middle of the build may be caused by build parallelism
-
(enabled by default).
-
See https://github.com/ocaml/opam-repository/pull/14257 for more info."
-
{failure & jobs > 1 & os != "cygwin"}
-
"You can try installing again including --jobs=1
-
to force a sequential build instead."
-
{failure & jobs > 1 & os != "cygwin" & opam-version >= "2.0.5"}
+
conflicts: [
+
"system-msvc"
]
depopts: [
"ocaml-option-32bit"
···
"ocaml-option-no-flat-float-array"
"ocaml-option-flambda"
"ocaml-option-fp"
-
"ocaml-option-musl"
"ocaml-option-no-compression"
+
"ocaml-option-musl"
"ocaml-option-leak-sanitizer"
"ocaml-option-address-sanitizer"
"ocaml-option-static"
+43
packages/ocaml-variants/ocaml-variants.5.2.0+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: compiler
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.2.0.tar.gz"
checksum: "sha256=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.2.0+statmemprof/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml-multicore/ocaml.git#5.2.0+statmemprof"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/ocaml-multicore/ocaml/archive/5.2.0+statmemprof.tar.gz"
checksum: "sha256=7118bd121642cd8fc8558b26b99d62670f3f1442e43e26c05fc9b5ed77b70ca7"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.2.0~alpha1+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.2.0-alpha1.tar.gz"
checksum: "sha256=2664bd9175dffadfcd1ccba69d3689459202580586e12f53ca1fdd98c43431ad"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.2.0~beta1+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.2.0-beta1.tar.gz"
checksum: "sha256=8fa1101f92091dd333d9dbd101f52ea3db86b827e8f1d26e45c98f8eac7e9e28"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.2.0~beta2+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.2.0-beta2.tar.gz"
checksum: "sha256=3d76aef8d2fc7d454e7fee201553e7f3e8298d29c4f220e82911c207d72fc982"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.2.0~rc1+options/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
depends: [
+
# This is OCaml 5.2.0
"ocaml" {= "5.2.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
src: "https://github.com/ocaml/ocaml/archive/5.2.0-rc1.tar.gz"
checksum: "sha256=2573928dfd5399b2fdb629bfce844b12e68475bb431c2a96a9c8e72a419da029"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+45 -1
packages/ocaml-variants/ocaml-variants.5.2.1+trunk/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#5.2"
depends: [
+
# This is OCaml 5.2.1
"ocaml" {= "5.2.1" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
-
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 only
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# i686 mingw-w64 only
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
"system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
+
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
···
build: [
[
"./configure"
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
···
url {
src: "https://github.com/ocaml/ocaml/archive/5.2.tar.gz"
}
+
conflicts: [
+
"system-msvc"
+
]
depopts: [
"ocaml-option-32bit"
"ocaml-option-afl"
+48 -1
packages/ocaml-variants/ocaml-variants.5.3.0+trunk/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
dev-repo: "git+https://github.com/ocaml/ocaml.git#trunk"
depends: [
+
# This is OCaml 5.3.0
"ocaml" {= "5.3.0" & post}
+
+
# General base- packages
"base-unix" {post}
"base-bigarray" {post}
"base-threads" {post}
"base-domains" {post}
"base-nnp" {post}
+
+
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Architecture (non-Windows)
+
# opam-repository at present requires that ocaml-base-compiler is installed
+
# using an architecture which matches the machine's, since arch is used in
+
# available fields. Cross-compilation at this stage is an unstable accident.
+
"host-arch-arm32" {arch = "arm32" & post}
+
"host-arch-arm64" {arch = "arm64" & post}
+
"host-arch-ppc64" {arch = "ppc64" & post}
+
"host-arch-riscv64" {arch = "riscv64" & post}
+
"host-arch-s390x" {arch = "s390x" & post}
+
# The Windows ports explicitly select the architecture (see below) this
+
# facility is not yet available for other platforms.
+
"host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+
("host-arch-x86_32" {os != "win32" & arch = "x86_64" & post} & "ocaml-option-32bit" {os != "win32"} |
+
"host-arch-x86_64" {os != "win32" & arch = "x86_64" & post})
+
"host-arch-unknown" {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" & arch != "riscv64" & arch != "s390x" & arch != "x86_32" & arch != "x86_64" & post}
+
+
# Port selection (Windows)
+
# amd64 mingw-w64 / MSVC
+
("arch-x86_64" {os = "win32" & arch = "x86_64"} &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
"system-msvc" & "winpthreads" & "ocaml-option-no-compression") |
+
# i686 mingw-w64 / MSVC
+
"arch-x86_32" {os = "win32"} & "ocaml-option-bytecode-only" &
+
("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & build} |
+
"system-msvc" & "winpthreads" & "ocaml-option-no-compression") |
+
# Non-Windows systems
+
"host-system-other" {os != "win32" & post})
+
+
# All the 32-bit architectures are bytecode-only
"ocaml-option-bytecode-only" {arch != "arm64" & arch != "x86_64" & arch != "s390x" & arch != "riscv64" & arch != "ppc64"}
-
"ocaml-beta" {opam-version < "2.1.0"}
+
+
# Support Packages
+
"flexdll" {>= "0.42" & os = "win32"}
]
conflict-class: "ocaml-core-compiler"
flags: [ compiler avoid-version ]
setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build-env: [
+
[MSYS2_ARG_CONV_EXCL = "*"]
[LSAN_OPTIONS = "detect_leaks=0,exitcode=0"]
[ASAN_OPTIONS = "detect_leaks=0,exitcode=0"]
]
build: [
[
"./configure"
+
"--host=x86_64-pc-windows" {system-msvc:installed & arch-x86_64:installed}
+
"--host=x86_64-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_64:installed}
+
"--host=i686-pc-windows" {system-msvc:installed & arch-x86_32:installed}
+
"--host=i686-w64-mingw32" {os-distribution = "cygwin" & system-mingw:installed & arch-x86_32:installed}
"--prefix=%{prefix}%"
"--docdir=%{doc}%/ocaml"
+
"--with-flexdll=%{flexdll:share}%" {os = "win32" & flexdll:installed}
+
"--with-winpthreads-msvc=%{winpthreads:share}%" {system-msvc:installed}
"-C"
"--with-afl" {ocaml-option-afl:installed}
"--disable-native-compiler" {ocaml-option-bytecode-only:installed}
+3
packages/ocaml/ocaml.4.13.0/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.4.13.1/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.4.13.2/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.4.14.0/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.4.14.1/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.4.14.2/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.4.14.3/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: CAML_LD_LIBRARY_PATH = ""
homepage: "https://ocaml.org"
+3
packages/ocaml/ocaml.5.0.0/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+3
packages/ocaml/ocaml.5.0.1/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+3
packages/ocaml/ocaml.5.1.0/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+3
packages/ocaml/ocaml.5.1.1/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+3
packages/ocaml/ocaml.5.1.2/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+3
packages/ocaml/ocaml.5.2.0/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+3
packages/ocaml/ocaml.5.3.0/opam
···
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
]
+
x-env-path-rewrite: [
+
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+
]
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
build-env: [
[CAML_LD_LIBRARY_PATH = ""]
+4 -1
packages/system-mingw/system-mingw.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: compiler
available: os = "win32"
-
depends: "ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"}
+
depends: [
+
("ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"})
+
("ocaml-env-mingw32" | "ocaml-env-mingw64")
+
]
conflict-class: "ocaml-system"
+4 -1
packages/system-msvc/system-msvc.1/opam
···
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: compiler
available: os = "win32"
-
depends: "ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"}
+
depends: [
+
("ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"})
+
("ocaml-env-msvc32" | "ocaml-env-msvc64")
+
]
conflict-class: "ocaml-system"