spirv-tools: partially unshallow spirv-tools clone (#9559)

SPIRV-Tools now requires some history to determine its version. This is
done using tags on the current branch. Using --depth=1 was preventing
the version to be generated correctly.
Using --filter=tree:0 should still limit the amount of fetch data, while
giving us tags.

Signed-off-by: Nathan Gauër <brioche@google.com>
This commit is contained in:
Nathan Gauër 2023-02-02 16:13:12 +01:00 committed by GitHub
parent a2b0680642
commit 1724733e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make autoconf automake libtool ninja-build
RUN git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Tools.git spirv-tools
RUN git clone --filter=tree:0 https://github.com/KhronosGroup/SPIRV-Tools.git spirv-tools
WORKDIR spirv-tools
COPY build.sh $SRC/