[skia] Remove pinned swiftshader hack (#4467)

This commit is contained in:
Kevin Lubick 2020-09-22 11:01:53 -04:00 committed by GitHub
parent e25d79502e
commit 25e212436a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 8 deletions

View File

@ -16,8 +16,8 @@
FROM gcr.io/oss-fuzz-base/base-builder
# Mesa needed to build swiftshader
RUN apt-get update && apt-get install -y python wget libglu1-mesa-dev cmake
# Mesa and libz/zlib needed to build swiftshader
RUN apt-get update && apt-get install -y python wget libglu1-mesa-dev cmake lib32z1-dev zlib1g-dev
RUN git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' --depth 1
ENV PATH="${SRC}/depot_tools:${PATH}"
@ -29,12 +29,6 @@ WORKDIR skia
RUN bin/sync
# Setup SwiftShader
WORKDIR $SRC/skia/third_party/externals/swiftshader/
# TODO(metzman): Come up with a better long term solution, such as downloading
# prebuilt libraries, than pinning swiftshader to a known working revision.
RUN git checkout 45510ad8a77862c1ce2e33f0efed41544f5f048b
# Make a directory for fuzzing artifacts that won't be clobbered by CIFuzz.
RUN mkdir $SRC/skia_data