Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Thomson <paulthomson@users.noreply.github.com>2020-09-09 11:56:32 +0300
committerGitHub <noreply@github.com>2020-09-09 11:56:32 +0300
commita715b1b4053519ad0f2bdb2d22ace35d35867cff (patch)
treeb535d70e1bbf02fc59702e165df78646d232e730 /README.md
parenta187dd58a0485988841d325a85c8e6063f53500a (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.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/README.md b/README.md
index c82ca192f..44f582fb8 100644
--- a/README.md
+++ b/README.md
@@ -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