mirror of https://github.com/google/oss-fuzz.git
Fix build scripts for kimageformats (#4864)
This commit is contained in:
parent
b3f128912a
commit
d49345764d
|
@ -22,7 +22,6 @@ RUN git clone --depth 1 https://invent.kde.org/frameworks/extra-cmake-modules.gi
|
|||
RUN git clone --depth 1 --branch=5.15 git://code.qt.io/qt/qtbase.git
|
||||
RUN git clone --depth 1 https://invent.kde.org/frameworks/karchive.git
|
||||
RUN git clone --depth 1 https://invent.kde.org/frameworks/kimageformats.git
|
||||
RUN apt-get install --yes yasm
|
||||
RUN git clone --depth 1 -b v2.0.1 https://aomedia.googlesource.com/aom
|
||||
RUN git clone --depth 1 -b v0.8.4 https://github.com/AOMediaCodec/libavif.git
|
||||
COPY build.sh $SRC
|
||||
|
|
|
@ -53,7 +53,7 @@ cd $SRC
|
|||
cd aom
|
||||
mkdir build.libavif
|
||||
cd build.libavif
|
||||
cmake -DBUILD_SHARED_LIBS=0 -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TESTDATA=0 -DENABLE_TESTS=0 -DENABLE_TOOLS=0 -DCONFIG_PIC=1 ..
|
||||
cmake -DBUILD_SHARED_LIBS=0 -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TESTDATA=0 -DENABLE_TESTS=0 -DENABLE_TOOLS=0 -DCONFIG_PIC=1 -DAOM_TARGET_CPU=generic ..
|
||||
make -j$(nproc)
|
||||
|
||||
cd $SRC
|
||||
|
@ -61,7 +61,7 @@ ln -s "$SRC/aom" "$SRC/libavif/ext/"
|
|||
cd libavif
|
||||
mkdir build
|
||||
cd build
|
||||
CFLAGS="-fPIC" cmake -DBUILD_SHARED_LIBS=OFF -DAVIF_ENABLE_WERROR=OFF -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON ..
|
||||
CFLAGS="$CFLAGS -fPIC" cmake -DBUILD_SHARED_LIBS=OFF -DAVIF_ENABLE_WERROR=OFF -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON ..
|
||||
make -j$(nproc)
|
||||
|
||||
cd $SRC
|
||||
|
|
Loading…
Reference in New Issue