mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Apply Add-CI-build-script-for-cross-compiling-Aarch64.patch from @linux4kix
This commit is contained in:
parent
73531f771f
commit
4bbf5c7483
4
.gitlab/scripts/linux-aarch64.sh
Executable file
4
.gitlab/scripts/linux-aarch64.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
export VELOREN_USERDATA_STRATEGY=executable
|
||||||
|
time PKG_CONFIG=/usr/bin/aarch64-linux-gnu-pkg-config cargo build --release --no-default-features --features default-publish --release --target aarch64-unknown-linux-gnu
|
||||||
|
# evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export VELOREN_USERDATA_STRATEGY=executable
|
export VELOREN_USERDATA_STRATEGY=executable
|
||||||
time cargo build --release --no-default-features --features default-publish
|
time cargo build --release --no-default-features --features default-publish
|
||||||
# eveluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
# evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
||||||
|
Loading…
Reference in New Issue
Block a user