package.sh (372B)
1 #!/bin/sh 2 set -eu 3 4 . "$(dirname "$0")/config.sh" 5 6 [ "$LLVM_MODE" = source ] || die "publishing requires LLVM_MODE=source" 7 [ -f "$BUILD_DIR/stamps/runtimes" ] || die "target runtimes have not finished building" 8 need python3 9 python3 "$PROOT/scripts/package.py" --prefix "$PREFIX" --target "$TARGET" \ 10 --sources "$SOURCES_FILE" --output "${DIST_DIR:-$PROOT/build/releases}"