diff options
author | Paul Thomson <paulthomson@users.noreply.github.com> | 2020-09-09 11:56:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 11:56:32 +0300 |
commit | a715b1b4053519ad0f2bdb2d22ace35d35867cff (patch) | |
tree | b535d70e1bbf02fc59702e165df78646d232e730 /README.md | |
parent | a187dd58a0485988841d325a85c8e6063f53500a (diff) |
Improve spirv-fuzz CMake code (#3781)
This change improves spirv-fuzz CMake code to be more compatible with other projects that might want to include spirv-fuzz as a sub-project.
* Add a CMake option for building spirv-fuzz.
* We now check if protobuf targets are already available.
* We no longer specify `-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_USE_UNALIGNED=0`; a newer version of protobuf does not require this. Note that we probably should have specified this for protobuf targets as well, but this is no longer needed.
* Updated protobuf version in Kokoro scripts and README.md.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -349,10 +349,7 @@ option, like so: ```sh # In <spirv-dir> (the SPIRV-Tools repo root): -git clone https://github.com/protocolbuffers/protobuf external/protobuf -pushd external/protobuf -git checkout v3.7.1 -popd +git clone --depth=1 --branch v3.13.0 https://github.com/protocolbuffers/protobuf external/protobuf # In your build directory: cmake [-G <platform-generator>] <spirv-dir> -DSPIRV_BUILD_FUZZER=ON |