kokoro: explicitly set ENABLE_OPT=0 in cmake builds

This is needed now that we force the user to explicitly choose between
disabling use of SPIRV-Tools, using a version installed on the system,
or using the version obtained by update_glslang_source.py
This commit is contained in:
Arcady Goldmints-Orlov 2023-08-21 11:17:02 -06:00 committed by kd-11
parent 708069d81d
commit 54fccb6e36
2 changed files with 2 additions and 2 deletions

View File

@ -46,5 +46,5 @@ using ninja-1.10.0
echo "Building..."
mkdir /build && cd /build
cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS
cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS -DENABLE_OPT=0
ninja install

View File

@ -46,5 +46,5 @@ using ninja-1.10.0
echo "Building..."
mkdir /build && cd /build
cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS
cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS -DENABLE_OPT=0
ninja install