File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ============================================================
22# SISAP 2026 deglib submission — single container.
3- # Stage 1 builds the deglib_sisap C++ binary (AVX2-only by default; pass
4- # --build-arg FORCE_AVX2=OFF for a -march=native build). Stage 2 is a thin Python
3+ # Stage 1 builds the deglib_sisap C++ binary (default -march=native ; pass
4+ # --build-arg FORCE_AVX2=ON for an AVX2-only build). Stage 2 is a thin Python
55# runtime that runs submission/search.py, which drives the binary. Both stages
66# share the same Ubuntu base so the binary's glibc/libstdc++ match the runtime.
77# Build from the repo root: docker build -t sisap-deglib .
@@ -22,8 +22,8 @@ WORKDIR /build/cpp
2222# AVX-512 — a -march=native binary would crash there with SIGILL.
2323# FORCE_AVX2=OFF -> -march=native: best ISA on the build host (only safe when the
2424# build host and the run host share the same CPU).
25- # Native build : docker build --build-arg FORCE_AVX2=OFF -t sisap-deglib .
26- ARG FORCE_AVX2=ON
25+ # Usage (AVX2-only) : docker build --build-arg FORCE_AVX2=ON -t sisap-deglib .
26+ ARG FORCE_AVX2=OFF
2727RUN if [ "$FORCE_AVX2" = "ON" ]; then \
2828 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DFORCE_AVX2=ON ; \
2929 else \
You can’t perform that action at this time.
0 commit comments