Skip to content

Commit d57a639

Browse files
authored
Add FreeBSD 5.2 (#33)
1 parent 4781752 commit d57a639

File tree

2 files changed

+36
-58
lines changed

2 files changed

+36
-58
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The current platforms are:
1515
- MacOS, ARM64, OCaml 5.2.0+trunk
1616
- FreeBSD, X86-64, OCaml 5.0.0
1717
- FreeBSD, X86-64, OCaml 5.1.0
18+
- FreeBSD, X86-64, OCaml 5.2.0
1819
- Linux*, ARM64, OCaml 5.0.0
1920
- Linux*, ARM64, OCaml 5.1.0
2021
- Linux*, ARM64, OCaml 5.2.0+trunk
@@ -120,4 +121,4 @@ Multicoretests-CI aided in finding these bugs in the OCaml 5 multicore runtime.
120121
| STM Weak test parallel fail to trigger on s390x | 02/11/23 | https://github.com/ocaml-multicore/multicoretests/issues/406 |
121122
| Segfault on s390x in Effect test | 17/08/23 | https://github.com/ocaml-multicore/multicoretests/issues/383 |
122123
| Crashes and hangs on ppc64 trunk/5.2 | 14/08/23 | https://github.com/ocaml-multicore/multicoretests/issues/380 |
123-
| s390x thread_createtree failures | 10/07/23 | https://github.com/ocaml-multicore/multicoretests/issues/374 |
124+
| s390x thread_createtree failures | 10/07/23 | https://github.com/ocaml-multicore/multicoretests/issues/374 |

lib/conf.ml

Lines changed: 34 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -88,65 +88,42 @@ module Platform = struct
8888
end
8989

9090
let macos_platforms : Platform.t list =
91-
[
92-
(* {
93-
label = "macos-amd64";
94-
builder = Builders.local;
95-
pool = "macos-x86_64";
96-
distro = "macos-homebrew";
97-
arch = `X86_64;
98-
docker_tag = "homebrew/brew";
99-
}; *)
100-
{
101-
builder = Builders.local;
102-
pool = "macos-arm64";
103-
distro = "macos-homebrew";
104-
arch = `Aarch64;
105-
docker_tag = "homebrew/brew";
106-
docker_tag_with_digest = None;
107-
ocaml_version = "5.0";
108-
};
109-
{
110-
builder = Builders.local;
111-
pool = "macos-arm64";
112-
distro = "macos-homebrew";
113-
arch = `Aarch64;
114-
docker_tag = "homebrew/brew";
115-
docker_tag_with_digest = None;
116-
ocaml_version = "5.1";
117-
};
118-
{
119-
builder = Builders.local;
120-
pool = "macos-arm64";
121-
distro = "macos-homebrew";
122-
arch = `Aarch64;
123-
docker_tag = "homebrew/brew";
124-
docker_tag_with_digest = None;
125-
ocaml_version = "5.2";
126-
};
127-
]
91+
(* {
92+
label = "macos-amd64";
93+
builder = Builders.local;
94+
pool = "macos-x86_64";
95+
distro = "macos-homebrew";
96+
arch = `X86_64;
97+
docker_tag = "homebrew/brew";
98+
}; *)
99+
List.map
100+
(fun ocaml_version ->
101+
Platform.
102+
{
103+
builder = Builders.local;
104+
pool = "macos-arm64";
105+
distro = "macos-homebrew";
106+
arch = `Aarch64;
107+
docker_tag = "homebrew/brew";
108+
docker_tag_with_digest = None;
109+
ocaml_version;
110+
})
111+
[ "5.0"; "5.1"; "5.2" ]
128112

129113
let freebsd_platforms : Platform.t list =
130-
[
131-
{
132-
builder = Builders.local;
133-
pool = "freebsd-x86_64";
134-
distro = "freebsd";
135-
arch = `X86_64;
136-
docker_tag = "freebsd";
137-
docker_tag_with_digest = None;
138-
ocaml_version = "5.0";
139-
};
140-
{
141-
builder = Builders.local;
142-
pool = "freebsd-x86_64";
143-
distro = "freebsd";
144-
arch = `X86_64;
145-
docker_tag = "freebsd";
146-
docker_tag_with_digest = None;
147-
ocaml_version = "5.1";
148-
};
149-
]
114+
List.map
115+
(fun ocaml_version ->
116+
Platform.
117+
{
118+
builder = Builders.local;
119+
pool = "freebsd-x86_64";
120+
distro = "freebsd";
121+
arch = `X86_64;
122+
docker_tag = "freebsd";
123+
docker_tag_with_digest = None;
124+
ocaml_version;
125+
})
126+
[ "5.0"; "5.1"; "5.2" ]
150127

151128
let pool_of_arch : arch -> string = function
152129
(* | `X86_64 | `I386 -> "linux-x86_64"

0 commit comments

Comments
 (0)