Skip to content

Commit

Permalink
Add parallel build for OpenVDB linux
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris committed Jan 19, 2023
1 parent 6dd82ea commit b20f1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ build_openvdb()
cmake --build . --config ${BUILD_TYPE} --target install
elif [[ "$OSTYPE" == "linux"* ]]; then
cmake -DCMAKE_CXX_FLAGS="$FLAGS" -DUSE_BLOSC=OFF ${CONCURRENT_FLAG} -DCMAKE_PREFIX_PATH=${CONDA_PREFIX} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DOPENVDB_CORE_STATIC=OFF -DUSE_EXPLICIT_INSTANTIATION=OFF -DOPENVDB_BUILD_BINARIES=OFF -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
make install || exit 1
make -j${NUM_PROCS} install || exit 1
else
cmake -DCMAKE_CXX_FLAGS="$FLAGS" -DUSE_BLOSC=OFF ${CONCURRENT_FLAG} -DCMAKE_PREFIX_PATH=${CONDA_PREFIX} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DOPENVDB_CORE_STATIC=OFF -DOPENVDB_BUILD_BINARIES=OFF -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
make -j${NUM_PROCS} install || exit 1
Expand Down

0 comments on commit b20f1d5

Please sign in to comment.