diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2019-12-16 19:39:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 19:39:36 -0800 |
commit | f6131a0cca2b867520af2427de06868e6d93aed2 (patch) | |
tree | 6893afbca1d4d6c851d7ae4548f061e66371d291 /projects/graphicsfuzz-spirv | |
parent | fa4317bd4adfec99d6c4e7e0d0ce828cdb9a83a5 (diff) | |
download | oss-fuzz-f6131a0cca2b867520af2427de06868e6d93aed2.tar.gz |
Reenable GraphicsFuzz (#3140)
Also revert "Improve support for GraphicsFuzz (#3129)"
This reverts commit f98bd5289a4cba30149baebaa75127bd0ff9b565.
Diffstat (limited to 'projects/graphicsfuzz-spirv')
-rw-r--r-- | projects/graphicsfuzz-spirv/Dockerfile | 6 | ||||
-rwxr-xr-x | projects/graphicsfuzz-spirv/build.sh | 8 | ||||
-rw-r--r-- | projects/graphicsfuzz-spirv/project.yaml | 2 |
3 files changed, 2 insertions, 14 deletions
diff --git a/projects/graphicsfuzz-spirv/Dockerfile b/projects/graphicsfuzz-spirv/Dockerfile index 2a72c2f37..37931916c 100644 --- a/projects/graphicsfuzz-spirv/Dockerfile +++ b/projects/graphicsfuzz-spirv/Dockerfile @@ -15,20 +15,18 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y cmake ninja-build && apt-get install -y maven && apt-get install -y openjdk-8-jdk-headless && apt-get install -y wget +RUN apt-get update && apt-get install -y cmake ninja-build RUN mkdir -p graphicsfuzz-spirv RUN git clone --depth=1 https://github.com/KhronosGroup/glslang.git graphicsfuzz-spirv/glslang RUN git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Cross.git graphicsfuzz-spirv/SPIRV-Cross + RUN git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Tools.git graphicsfuzz-spirv/SPIRV-Tools RUN git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers graphicsfuzz-spirv/SPIRV-Tools/external/spirv-headers RUN git clone --depth=1 https://github.com/google/effcee graphicsfuzz-spirv/SPIRV-Tools/external/effcee RUN git clone --depth=1 https://github.com/google/re2 graphicsfuzz-spirv/SPIRV-Tools/external/re2 -# Cloning with --depth=1 does not work for GraphicsFuzz due to GraphicsFuzz doing a git commit check during its build process. -RUN git clone https://github.com/google/graphicsfuzz.git graphicsfuzz-spirv/graphicsfuzz - COPY build.sh $SRC/ WORKDIR graphicsfuzz-spirv
\ No newline at end of file diff --git a/projects/graphicsfuzz-spirv/build.sh b/projects/graphicsfuzz-spirv/build.sh index 574a116f5..dec6e4501 100755 --- a/projects/graphicsfuzz-spirv/build.sh +++ b/projects/graphicsfuzz-spirv/build.sh @@ -39,12 +39,4 @@ pushd SPIRV-Cross/build cmake -G "Ninja" -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" .. ninja cp spirv-cross $OUT/ -popd - -pushd graphicsfuzz -mvn package -Dmaven.test.skip=True -cp -r graphicsfuzz/target/graphicsfuzz $OUT/ -popd -wget https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u232b09.tar.gz -tar xzf OpenJDK8U-jdk_x64_linux_hotspot_8u232b09.tar.gz -C $OUT diff --git a/projects/graphicsfuzz-spirv/project.yaml b/projects/graphicsfuzz-spirv/project.yaml index b16ff460a..add495c3a 100644 --- a/projects/graphicsfuzz-spirv/project.yaml +++ b/projects/graphicsfuzz-spirv/project.yaml @@ -15,5 +15,3 @@ sanitizers: architectures: - x86_64 - i386 - -disabled: True |