Lines Matching +full:ninja +full:- +full:build
8 # http://www.apache.org/licenses/LICENSE-2.0
16 # MacOS Build Script.
19 set -e
21 set -x
24 SRC=$PWD/github/SPIRV-Tools
27 # Get NINJA.
28 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip
29 unzip -q ninja-mac.zip
30 chmod +x ninja
34 git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers
36 cd external && cd googletest && git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7 && cd .. …
37 git clone --depth=1 https://github.com/google/effcee external/effcee
38 git clone --depth=1 https://github.com/google/re2 external/re2
39 git clone --depth=1 --branch v3.13.0.1 https://github.com/protocolbuffers/protobuf external/protobuf
41 mkdir build && cd $SRC/build
43 # Invoke the build.
44 BUILD_SHA=${KOKORO_GITHUB_COMMIT:-$KOKORO_GITHUB_PULL_REQUEST_COMMIT}
45 echo $(date): Starting build...
48 -GNinja \
49 -DCMAKE_INSTALL_PREFIX=$KOKORO_ARTIFACTS_DIR/install \
50 -DPYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3.7 \
51 -DCMAKE_C_COMPILER=clang \
52 -DCMAKE_CXX_COMPILER=clang++ \
53 -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
54 -DSPIRV_BUILD_FUZZER=ON \
57 echo $(date): Build everything...
58 ninja
59 echo $(date): Build completed.
62 ctest -j4 --output-on-failure --timeout 300
65 # Package the build.
66 ninja install