From b20f1d5601f093a1da2aadbc27c69776c585993a Mon Sep 17 00:00:00 2001 From: Alan Morris Date: Thu, 19 Jan 2023 14:33:51 -0700 Subject: [PATCH] Add parallel build for OpenVDB linux --- build_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_dependencies.sh b/build_dependencies.sh index 59dad4cdd7..81f4cd597a 100755 --- a/build_dependencies.sh +++ b/build_dependencies.sh @@ -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