Building ParaView Superbuild in parallel

Hi,

I’m trying to build ParaView and its dependencies using the superbuild, but it is only building on 1 core:

[ 88%] Performing build step for 'paraview'
gmake[3]: warning: -j1 forced in submake: resetting jobserver mode.

I ran the following commands:

cmake $PARAVIEW_SRC -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PARAVIEW_ROOT/ -DPARAVIEW_BUILD_EDITION=CATALYST_RENDERING -Dparaview_SOURCE_SELECTION=5.13.0
make -j 40

What should I do to build in parallel?

Thanks,
Alex

I figured out that parallelism in the superbuild is controlled by the SUPERBUILD_PROJECT_PARALLELISM cmake variable. For example:

-DSUPERBUILD_PROJECT_PARALLELISM=40
1 Like