Skip to content

Commit

Permalink
oss-fuzz: use Ninja generator
Browse files Browse the repository at this point in the history
  • Loading branch information
LebedevRI committed Feb 16, 2024
1 parent 7d8f2ed commit 4953d17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .ci/oss-fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

set -ex

apt-get install -y ninja-build
export CMAKE_GENERATOR=Ninja

ln -f -s /usr/local/bin/lld /usr/bin/ld

if [[ $SANITIZER = *undefined* ]]; then
Expand All @@ -34,7 +37,7 @@ mkdir build
cd build

cmake \
-G"Unix Makefiles" -DBINARY_PACKAGE_BUILD=ON -DWITH_OPENMP=$WITH_OPENMP \
-DBINARY_PACKAGE_BUILD=ON -DWITH_OPENMP=$WITH_OPENMP \
-DUSE_BUNDLED_LLVMOPENMP=ON -DALLOW_DOWNLOADING_LLVMOPENMP=ON \
-DWITH_PUGIXML=OFF -DUSE_XMLLINT=OFF -DWITH_JPEG=OFF -DWITH_ZLIB=OFF \
-DBUILD_TESTING=OFF -DBUILD_TOOLS=OFF -DBUILD_BENCHMARKING=OFF \
Expand Down

0 comments on commit 4953d17

Please sign in to comment.