mirror of https://github.com/google/oss-fuzz.git
Add new C library for subsequent fuzz testing (#6346)
Also cleans up old cmake configure options Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
This commit is contained in:
parent
68ec050a01
commit
0e7c2ba9c7
|
@ -19,17 +19,16 @@ cd $WORK/
|
|||
|
||||
CMAKE_SETTINGS=(
|
||||
"-D BUILD_SHARED_LIBS=OFF" # Build static libraries only
|
||||
"-D PYILMBASE_ENABLE=OFF" # Don't build Python support
|
||||
"-D BUILD_TESTING=OFF" # Or tests
|
||||
"-D INSTALL_OPENEXR_EXAMPLES=OFF" # Or examples
|
||||
"-D OPENEXR_INSTALL_EXAMPLES=OFF" # Or examples
|
||||
"-D OPENEXR_LIB_SUFFIX=" # Don't append the version number to library files
|
||||
"-D ILMBASE_LIB_SUFFIX="
|
||||
)
|
||||
cmake $SRC/openexr ${CMAKE_SETTINGS[@]}
|
||||
make -j$(nproc)
|
||||
|
||||
INCLUDES=(
|
||||
"-I $SRC"
|
||||
"-I $SRC/openexr/src/lib/OpenEXRCore"
|
||||
"-I $SRC/openexr/src/lib/OpenEXR"
|
||||
"-I $SRC/openexr/src/lib/OpenEXRUtil"
|
||||
"-I $WORK/cmake"
|
||||
|
@ -38,6 +37,7 @@ INCLUDES=(
|
|||
LIBS=(
|
||||
"$WORK/src/lib/OpenEXRUtil/libOpenEXRUtil.a"
|
||||
"$WORK/src/lib/OpenEXR/libOpenEXR.a"
|
||||
"$WORK/src/lib/OpenEXRCore/libOpenEXRCore.a"
|
||||
"$WORK/src/lib/IlmThread/libIlmThread.a"
|
||||
"$WORK/src/lib/Iex/libIex.a"
|
||||
"$WORK/_deps/imath-build/src/Imath/libImath*.a"
|
||||
|
|
Loading…
Reference in New Issue