-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25861 from dra27/windows-initial
Update ocaml-base-compiler, ocaml-system and ocaml-variants 4.13.0+ with support for native Windows
- Loading branch information
Showing
124 changed files
with
2,779 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
opam-version: "2.0" | ||
synopsis: "Build OCaml for x86 (32-bit)" | ||
description: """ | ||
Installing this package causes the OCaml compiler packages to target | ||
32bit Intel x86 (x86_32/x86). | ||
|
||
At present, this facility is only available for the native Windows ports of | ||
OCaml.""" | ||
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" | ||
# This package is marked avoid-version in order to steer the default on 64-bit | ||
# systems towards a 64-bit compiler. | ||
flags: [compiler avoid-version] | ||
available: os = "win32" | ||
depends: [ | ||
("ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"}) | ||
"host-arch-x86_32" {post} | ||
] | ||
conflict-class: "ocaml-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
opam-version: "2.0" | ||
synopsis: "Build OCaml for amd64 (64-bit)" | ||
description: """ | ||
Installing this package causes the OCaml compiler packages to target | ||
64-bit Intel x86 (x86_64/amd64/x64). | ||
|
||
At present, this facility is only available for the native Windows ports of | ||
OCaml.""" | ||
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" | ||
flags: compiler | ||
# The architecture selection is somewhat belt-and-braces while this system is | ||
# only available for Windows. The dependency of the OCaml ecosystem on either | ||
# Cygwin or MSYS2 means that OCaml cannot be used on 32-bit Windows, although | ||
# 32-bit is fully supported as a target. | ||
# When these packages are extended to all platforms, the available field would | ||
# ensure that this package becomes unavailable on a 32-bit system, and the | ||
# avoid-version in arch-x86_32 will be ignored. | ||
available: os = "win32" & (arch = "x86_64" | arch = "arm64") | ||
depends: [ | ||
("ocaml-base-compiler" {post & >= "4.13.0~"} | "ocaml-variants" {post & >= "4.13.0~"}) | ||
"host-arch-x86_64" {post} | ||
] | ||
conflict-class: "ocaml-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on AArch32 (32-bit)" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for 32-bit ARM. | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `arm`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on AArch64 (64-bit)" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for 64-bit ARM. | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `arm64`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on 64-bit IBM POWER" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for | ||
64-bit IBM POWER. | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `power`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on 64-bit RISC-V" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for 64-bit RISC-V. | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `riscv`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on 64-bit IBM z/Architecture" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for | ||
64-bit IBM z/Architecture (s390x). | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `s390x`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on an unknown architecture" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for an unknown | ||
architecture. | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `none`. | ||
|
||
It is not expected that this package be used in depends or conflicts fields of | ||
dependent packages.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on x86 (32-bit)" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for | ||
32-bit Intel x86 (x86_32/x86). | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `i386`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on amd64 (64-bit)" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is for | ||
64-bit Intel x86 (x86_64/amd64/x64). | ||
|
||
Precisely, this means `ocamlopt -config-var architecture` equals `amd64`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this | ||
architecture.""" | ||
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" | ||
conflict-class: "ocaml-host-arch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml for mingw-w64" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is one of the | ||
mingw-w64 native Windows ports of OCaml. | ||
|
||
Precisely, this means `ocamlopt -config-var system` is equal to either `mingw` | ||
or `mingw64`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this OCaml port.""" | ||
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" | ||
conflict-class: "ocaml-host-system" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml for Microsoft Visual Studio" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler is one of the "MSVC" | ||
native Windows ports of OCaml. | ||
|
||
Precisely, this means `ocamlopt -config-var system` is equal to either `win32` | ||
or `win64`. | ||
|
||
This package may be used in depends or conflicts fields of dependent packages | ||
to indicate either a requirement or an incompatibility with this OCaml port.""" | ||
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" | ||
conflict-class: "ocaml-host-system" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml on an unidentified system" | ||
description: """ | ||
This package is installed if the underlying OCaml compiler's system is not | ||
recognised by opam-repository's compiler packaging. | ||
|
||
It is not expected that this package be used in depends or conflicts fields of | ||
dependent packages, given that its use may be changed if the packaging is | ||
subsequently enhanced to recognise the system value.""" | ||
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" | ||
conflict-class: "ocaml-host-system" |
Oops, something went wrong.