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)
|
||||
|
||||
|
@ -26,4 +28,4 @@ zip -j $OUT/decompress_fuzzer_seed_corpus.zip compat/*.cdata
|
|||
# Copy the fuzzer executables, zip-ed corpora, and dictionary files to $OUT
|
||||
find . -name '*_fuzzer' -exec cp -v '{}' $OUT ';'
|
||||
find . -name '*_fuzzer.dict' -exec cp -v '{}' $OUT ';'
|
||||
find . -name '*_fuzzer_seed_corpus.zip' -exec cp -v '{}' $OUT ';'
|
||||
find . -name '*_fuzzer_seed_corpus.zip' -exec cp -v '{}' $OUT ';'
|
||||
|
|
Loading…
Reference in New Issue