mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
- Switch to Qt 6.8 for repo default, as 6.7 depends on an older libwebp/tiff which is unavailable on newer installs - Drop tools/mac-x86, as we no longer need to test against Qt 5 - Add flags to cross compile wheels on Mac and Linux - Bump glibc target to 2_36, building on Debian Stable - Increase mpv timeout on macOS to allow for initial gatekeeper checks - Ship both arm64 and amd64 uv on Linux, with a bash stub to pick the appropriate arch.
12 lines
286 B
Bash
Executable file
12 lines
286 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# sudo apt install libc6-dev-arm64-cross gcc-aarch64-linux-gnu
|
|
rustup target add aarch64-unknown-linux-gnu
|
|
|
|
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
|
|
export LIN_ARM64=1
|
|
|
|
RELEASE=2 ./ninja wheels:anki
|
|
echo "wheels are in out/wheels"
|