Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ci-openvdb:2020 #12

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ jobs:
aswf_version: '2020.0'
python_version: '3.7'
cicommon_version: '1.0'
images: ['base', 'openexr']
images: ['base', 'openexr', 'openvdb']
tags: ['2020', 'draft']
13 changes: 13 additions & 0 deletions scripts/vfx/install_openexr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,23 @@ if [[ $OPENEXR_VERSION == 2.2* ]]; then
make -j4
make install
else

# TODO: add support for python-3 PyIlmBase when it works...
if [[ $OPENEXR_VERSION == 2.3.0 ]]; then
if [[ $PYTHON_VERSION == 2.7* ]]; then
BUILD_PYILMBASE=on
else
BUILD_PYILMBASE=off
fi
else
BUILD_PYILMBASE=on
fi

mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DOPENEXR_BUILD_PYTHON_LIBS=${BUILD_PYILMBASE} \
..
make -j4
make install
Expand Down