Commit c05923d 1 parent 129d9a5 commit c05923d Copy full SHA for c05923d
File tree 3 files changed +10
-7
lines changed
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,14 @@ RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam
7
7
RUN opam remote add origin https://github.com/ocaml/opam-repository.git && \
8
8
opam update
9
9
RUN wget https://nodejs.org/dist/v22.14.0/node-v22.14.0-linux-x64.tar.xz && \
10
- tar xJvf node-v22.14.0-linux-x64.tar.xz && \
11
- sudo cp node-v22.14.0-linux-x64/bin/node /usr/bin/node && \
12
- wget https://github.com/WebAssembly/binaryen/releases/download/version_122/binaryen-version_122-x86_64-linux.tar.gz && \
13
- tar xzvf binaryen-version_122-x86_64-linux.tar.gz && \
14
- sudo cp binaryen-version_122/bin/wasm-opt binaryen-version_122/bin/wasm-metadce binaryen-version_122/bin/wasm-merge /usr/bin/
15
- COPY --chown=opam:opam ./*.opam ./VERSION ./
16
- RUN opam pin -yn --kind=path --with-version=dev .
10
+ tar xJvf node-v22.14.0-linux-x64.tar.xz
11
+ ENV PATH="/bench-dir/node-v22.14.0-linux-x64/bin:$PATH"
12
+ RUN wget https://github.com/WebAssembly/binaryen/releases/download/version_122/binaryen-version_122-x86_64-linux.tar.gz && \
13
+ tar xzvf binaryen-version_122-x86_64-linux.tar.gz
14
+ ENV PATH="/bench-dir/binaryen-version_122/bin:$PATH"
15
+ RUN opam install --fake binaryen-bin
16
+ COPY --chown=opam:opam ./*.opam ./
17
+ RUN opam pin -yn --with-version=dev .
17
18
RUN opam install -y --deps-only js_of_ocaml-compiler
18
19
COPY --chown=opam:opam . ./
19
20
RUN opam install -y wasm_of_ocaml-compiler
Original file line number Diff line number Diff line change 141
141
( depends
142
142
( ocaml ( >= 4 .14) )
143
143
(js_of_ocaml ( = :version ) )
144
+ ( js_of_ocaml-compiler ( = :version ) )
144
145
( num :with -test)
145
146
( ppx_expect ( and ( >= v0.14.2) :with -test) )
146
147
( ppxlib ( >= 0 .15.0) )
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ depends: [
15
15
"dune" {>= "3.17"}
16
16
"ocaml" {>= "4.14"}
17
17
"js_of_ocaml" {= version}
18
+ "js_of_ocaml-compiler" {= version}
18
19
"num" {with-test}
19
20
"ppx_expect" {>= "v0.14.2" & with-test}
20
21
"ppxlib" {>= "0.15.0"}
You can’t perform that action at this time.
0 commit comments