Skip to content

Commit f965d2d

Browse files
committed
Benchmarks: use an OCaml compiler that produces hints
1 parent cb37f64 commit f965d2d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bench.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam
99
RUN opam remote add origin https://github.com/ocaml/opam-repository.git \
1010
&& opam update
1111

12+
# Switch to patched OCaml compiler
13+
RUN opam switch create hints ocaml-variants.5.3.1+trunk \
14+
&& opam pin ocaml-variants https://github.com/hhugo/ocaml.git#optimization-hints
15+
1216
# Install node
1317
ENV NODE_VERSION=v24.0.0-v8-canary2025030537242e55ac
1418
ENV NODE=node-$NODE_VERSION-linux-x64

0 commit comments

Comments
 (0)