From 1ff1e123608b44d796509b4b9c094cce7ac2de7a Mon Sep 17 00:00:00 2001 From: Alastair Donaldson Date: Fri, 3 Sep 2021 15:50:31 +0100 Subject: [PATCH] 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. --- projects/tint/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/tint/build.sh b/projects/tint/build.sh index 5ce1fede3..c64f96e69 100755 --- a/projects/tint/build.sh +++ b/projects/tint/build.sh @@ -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\