From 1724733e5e3714e388b18f9c6bf5f839d6868ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathan=20Gau=C3=ABr?= Date: Thu, 2 Feb 2023 16:13:12 +0100 Subject: [PATCH] spirv-tools: partially unshallow spirv-tools clone (#9559) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- projects/spirv-tools/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/spirv-tools/Dockerfile b/projects/spirv-tools/Dockerfile index 9ef1e805e..5fd0d337b 100644 --- a/projects/spirv-tools/Dockerfile +++ b/projects/spirv-tools/Dockerfile @@ -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/