mirror of https://github.com/google/oss-fuzz.git
c-blosc: simplify build (#9561)
Do not build binaries that are not needed: tests, benchmarks and shared libraries. This will stabilise the Fuzz Introspector build which has been a bit spurious lately.
This commit is contained in:
parent
1724733e5e
commit
dcea5c327e
|
@ -16,7 +16,9 @@
|
|||
################################################################################
|
||||
|
||||
# Build project
|
||||
cmake . -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" -DBUILD_FUZZERS=ON
|
||||
cmake . -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||
-DBUILD_FUZZERS=ON -DBUILD_TESTS=OFF -DBUILD_BENCHMARKS=OFF \
|
||||
-DBUILD_EXAMPLES=OFF -DBUILD_STATIC=ON -DBUILD_SHARED=OFF
|
||||
make clean
|
||||
make -j$(nproc)
|
||||
|
||||
|
|
Loading…
Reference in New Issue