Skip to content

Commit 8e6f357

Browse files
authored
Merge pull request #289 from abrown/update-docker-images
Update docker images
2 parents 796e61c + feadce2 commit 8e6f357

File tree

17 files changed

+14
-14
lines changed

17 files changed

+14
-14
lines changed

benchmarks/Dockerfile.emscripten

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM emscripten/emsdk:2.0.8
1+
FROM emscripten/emsdk:4.0.10
22

33
WORKDIR /
44
COPY benchmark.c .

benchmarks/Dockerfile.rust

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM rust:1.70
2-
RUN rustup target add wasm32-wasi
1+
FROM rust:1.87
2+
RUN rustup target add wasm32-wasip1
33
WORKDIR /usr/src
44
ADD rust-benchmark rust-benchmark
55
WORKDIR /usr/src/rust-benchmark
66
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
7-
RUN cargo build --release --target wasm32-wasi
7+
RUN cargo build --release --target wasm32-wasip1
88
RUN mkdir /benchmark
9-
RUN cp target/wasm32-wasi/release/*benchmark.wasm /benchmark/
9+
RUN cp target/wasm32-wasip1/release/*benchmark.wasm /benchmark/
1010
# We output the Wasm file to the `/benchmark` directory, where the client
1111
# expects it.
-1.93 MB
Binary file not shown.

benchmarks/blake3-simd/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM emscripten/emsdk:2.0.8
1+
FROM emscripten/emsdk:4.0.10
22

33
WORKDIR /usr/src
44
RUN git clone https://github.com/BLAKE3-team/BLAKE3.git
@@ -14,7 +14,7 @@ RUN emcc -O3 -s STANDALONE_WASM=1 \
1414
-s INITIAL_MEMORY=1048576 -s MAXIMUM_MEMORY=16777216 \
1515
-s ALLOW_MEMORY_GROWTH=1 -s TOTAL_STACK=131072 \
1616
-s "EXPORTED_FUNCTIONS=['_main']" \
17-
-msimd128 -msse2 -msse3 -msse4.1 -msse4.2 \
17+
-msimd128 -msse4.1 -msse4.2 \
1818
-DBLAKE3_NO_SSE41 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_AVX512 \
1919
-o /benchmark/benchmark.wasm \
2020
blake3.c blake3_sse2.c blake3_dispatch.c \
3.29 KB
Binary file not shown.
-1.94 MB
Binary file not shown.

benchmarks/hex-simd/benchmark.wasm

-9.92 KB
Binary file not shown.
Binary file not shown.

benchmarks/intgemm-simd/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM emscripten/emsdk:2.0.8
1+
FROM emscripten/emsdk:4.0.10
22

33
WORKDIR /usr/src
44
RUN git clone https://github.com/kpu/intgemm.git
@@ -23,7 +23,6 @@ RUN emcc -O3 -s STANDALONE_WASM=1 \
2323
-s INITIAL_MEMORY=33554432 -s MAXIMUM_MEMORY=33554432 \
2424
-s ALLOW_MEMORY_GROWTH=0 -s TOTAL_STACK=2097152 \
2525
-msimd128 -mssse3 -O3 -Ibuild \
26-
-s "EXPORTED_FUNCTIONS=['_main']" \
2726
-o /benchmark/benchmark.wasm \
2827
benchmark.cpp build/libintgemm.a
2928
# We output the Wasm file to the `/benchmark` directory, where the client
-3.95 KB
Binary file not shown.

0 commit comments

Comments
 (0)