Errors started showing up, and I read somewhere that this might be because of old ninja versions. This ninja version is indeed *ancient*. ``` multiple outputs aren't (yet?) supported by depslog; bring this up on the mailing list if it affects you ```
18 lines
484 B
Bash
Executable file
18 lines
484 B
Bash
Executable file
#!/bin/bash
|
|
# Note that this is originally from the github releases patch of Ninja
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
|
|
|
|
if isWindows; then
|
|
mkdir ninja
|
|
curl -o ninja.zip "${MIRRORS_BASE}/2024-03-28-v1.11.1-ninja-win.zip"
|
|
7z x -oninja ninja.zip
|
|
rm ninja.zip
|
|
ciCommandSetEnv "RUST_CONFIGURE_ARGS" "${RUST_CONFIGURE_ARGS} --enable-ninja"
|
|
ciCommandAddPath "$(pwd)/ninja"
|
|
elif isMacOS; then
|
|
brew install ninja
|
|
fi
|