aboutsummaryrefslogtreecommitdiff
path: root/projects/openexr
diff options
context:
space:
mode:
authorKimball Thurston <kdt3rd@gmail.com>2021-08-29 14:12:31 +1200
committerGitHub <noreply@github.com>2021-08-28 19:12:31 -0700
commit0e7c2ba9c77a440b5d37f8339124fb6166a45965 (patch)
tree47fb9b65ca472617b001f7da5c78d8d897e85be4 /projects/openexr
parent68ec050a0137219e02b3a0467e5515aa1cad7882 (diff)
downloadoss-fuzz-0e7c2ba9c77a440b5d37f8339124fb6166a45965.tar.gz
Add new C library for subsequent fuzz testing (#6346)
Also cleans up old cmake configure options Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
Diffstat (limited to 'projects/openexr')
-rwxr-xr-xprojects/openexr/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/projects/openexr/build.sh b/projects/openexr/build.sh
index 80a2e49a6..2b9e411cd 100755
--- a/projects/openexr/build.sh
+++ b/projects/openexr/build.sh
@@ -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"