]> git.saurik.com Git - apple/dyld.git/blob - build-scripts/dyld_tests-install.sh
dyld-832.7.1.tar.gz
[apple/dyld.git] / build-scripts / dyld_tests-install.sh
1 #!/bin/sh
2
3
4 #LLBUILD=$(xcrun --sdk $SDKROOT --find llbuild 2> /dev/null)
5 NINJA=${LLBUILD:-`xcrun --sdk $SDKROOT --find ninja 2> /dev/null`}
6 INSTALL_TARGET="install"
7
8 if [ ! -z "$LLBUILD" ]; then
9 NINJA="$LLBUILD ninja build"
10 fi
11
12 if [ ! -z "$ONLY_BUILD_TEST" ]; then
13 INSTALL_TARGET="install-$BUILD_ONLY"
14 fi
15
16 ${NINJA} -C ${DERIVED_FILES_DIR} ${INSTALL_TARGET} || exit_if_error $? "Ninja install failed"