Merge pull request #155 from storytold/nov-20-mithoo

statically build gpu binaries
This commit is contained in:
Kasisnu authored and GitHub committed 2023-11-20 15:20:28 +05:30
commit 9da6be3320
1 file changed
+3 -3
+3 -3
View File
@@ -96,19 +96,19 @@ RUN pwd
RUN du -hsc * | sort -hr
# Build all the binaries that run on GPU, including "dummy-service".
RUN SQLX_OFFLINE=true \
RUN RUSTFLAGS="-C target-feature=+crt-static" SQLX_OFFLINE=true \
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
$HOME/.cargo/bin/cargo build \
--release \
--bin dummy-service
RUN SQLX_OFFLINE=true \
RUN RUSTFLAGS="-C target-feature=+crt-static" SQLX_OFFLINE=true \
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
$HOME/.cargo/bin/cargo build \
--release \
--bin download-job
RUN SQLX_OFFLINE=true \
RUN RUSTFLAGS="-C target-feature=+crt-static" SQLX_OFFLINE=true \
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
$HOME/.cargo/bin/cargo build \
--release \