Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docker/zisk/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ ARG RUSTFLAGS
# Env variable read by ZisK crate `proofman-starks-lib-c`, comma-separated numeric arch IDs (e.g. "120" or "89,120")
ARG CUDA_ARCHS=120

# proofman-starks-src reads /proc/cpuinfo to pick its SIMD flags, so a builder with AVX-512
# produces an image that raises SIGILL on hosts without it. Pinning the baseline to AVX2 keeps
# the published image runnable anywhere.
ENV MAKEFLAGS="AVX512_SUPPORTED= AVX2_SUPPORTED=1"

RUN cargo build --release --package ere-server --bin ere-server --features zisk${CUDA:+,cuda} \
&& mkdir bin && mv target/release/ere-server bin/ere-server \
&& cargo clean && rm -rf $CARGO_HOME/registry/
Expand Down
Loading