Apply Add-CI-build-script-for-cross-compiling-Aarch64.patch from @linux4kix

This commit is contained in:
Imbris 2021-11-16 00:37:41 -05:00
parent 73531f771f
commit 4bbf5c7483
2 changed files with 5 additions and 1 deletions

View 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)

View File

@ -1,4 +1,4 @@
#!/bin/bash
export VELOREN_USERDATA_STRATEGY=executable
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)