mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-18 15:44:36 +00:00
Merge pull request #155 from storytold/nov-20-mithoo
statically build gpu binaries
This commit is contained in:
1 file changed
+3
-3
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user