mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
21 lines
402 B
Bash
Executable File
21 lines
402 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
set -e
|
|
|
|
RELEASE_STAGING="$DRONE_WORKSPACE/_release/staging"
|
|
TARGET="aarch64-macos-none"
|
|
MCPU="apple_a14"
|
|
INSTALL_PREFIX="$DRONE_WORKSPACE/$TARGET"
|
|
SEARCH_PREFIX="/deps/$TARGET"
|
|
|
|
"$RELEASE_STAGING/bin/zig" build \
|
|
--prefix "$INSTALL_PREFIX" \
|
|
--search-prefix "$SEARCH_PREFIX" \
|
|
-Dstatic-llvm \
|
|
-Drelease \
|
|
-Dstrip \
|
|
-Dtarget="$TARGET" \
|
|
-Dcpu="$MCPU" \
|
|
-Denable-stage1
|