Commit ba47db02 by Antonio Maiorano

Kokoro: fix SWIFTSHADER_LESS_DEBUG_INFO not being set

When the CMake option "LESS_DEBUG_INFO" was remamed to "SWIFTSHADER_LESS_DEBUG_INFO", we forgot to rename it in the Kokoro scripts. Change-Id: I706be61af3a959cf99294491437fb9a968a6164b Bug: none Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44268Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Presubmit-Ready: Antonio Maiorano <amaiorano@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
parent dc688a2f
......@@ -27,14 +27,14 @@ if [[ -z "${REACTOR_BACKEND}" ]]; then
fi
# Lower the amount of debug info, to reduce Kokoro build times.
LESS_DEBUG_INFO=1
SWIFTSHADER_LESS_DEBUG_INFO=1
cmake .. \
"-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" \
"-DREACTOR_BACKEND=${REACTOR_BACKEND}" \
"-DSWIFTSHADER_LLVM_VERSION=${LLVM_VERSION}" \
"-DREACTOR_VERIFY_LLVM_IR=1" \
"-DLESS_DEBUG_INFO=${LESS_DEBUG_INFO}"
"-DSWIFTSHADER_LESS_DEBUG_INFO=${SWIFTSHADER_LESS_DEBUG_INFO}"
cmake --build . -- -j $(nproc)
# Run unit tests
......
......@@ -21,7 +21,7 @@ if [[ "${LLVM_VERSION}" == "10.0" ]]; then
fi
# Lower the amount of debug info, to reduce Kokoro build times.
LESS_DEBUG_INFO=1
SWIFTSHADER_LESS_DEBUG_INFO=1
# Disable ASAN checks for debug builds, to reduce Kokoro build times.
# ASAN builds are recommended to be optimized.
......@@ -36,7 +36,7 @@ cmake .. \
"-DREACTOR_BACKEND=${REACTOR_BACKEND}" \
"-DSWIFTSHADER_LLVM_VERSION=${LLVM_VERSION}" \
"-DREACTOR_VERIFY_LLVM_IR=1" \
"-DLESS_DEBUG_INFO=${LESS_DEBUG_INFO}"
"-DSWIFTSHADER_LESS_DEBUG_INFO=${SWIFTSHADER_LESS_DEBUG_INFO}"
cmake --build . -- -j$(sysctl -n hw.logicalcpu)
# Run unit tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment