tint: pass LIB_FUZZING_ENGINE more elegantly (#6388)

The LIB_FUZZING_ENGINE environment variable is now passed to tint's
CMake command as an option, rather than having the environment variable
be queried in the project's CMake files.
This commit is contained in:
Alastair Donaldson 2021-09-03 15:50:31 +01:00 committed by GitHub
parent 774f38a6af
commit 1ff1e12360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ pushd out/Debug
# when building tint.
CFLAGS="$CFLAGS -fno-sanitize=vptr" \
CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr" \
cmake -GNinja ../.. -DTINT_BUILD_FUZZERS=ON -DTINT_BUILD_SPIRV_TOOLS_FUZZER=ON -DTINT_BUILD_TESTS=OFF
cmake -GNinja ../.. -DTINT_BUILD_FUZZERS=ON -DTINT_BUILD_SPIRV_TOOLS_FUZZER=ON -DTINT_BUILD_TESTS=OFF -DTINT_LIB_FUZZING_ENGINE_LINK_OPTIONS=$LIB_FUZZING_ENGINE
SPIRV_FUZZERS="tint_spv_reader_fuzzer\
tint_spv_reader_msl_writer_fuzzer\