After following lots of advice from another thread I am finally
getting PV 3.6 branch built. But the build is only using 1 processor
of 16 available. I have the following in my declarative style ctest
file:
file (WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt"
"
//Command used to build entire project from the command line.
MAKECOMMAND:STRING=/usr/bin/make -j 16
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Path to a program.
CVSCOMMAND:FILEPATH=/usr/bin/cvs
//Build type
CMAKE_BUILD_TYPE:STRING=Debug
//Turn on more strict warnings
CMAKE_CXX_FLAGS:STRING=-Wunused -Wformat -Wsign-compare -Wshadow
SITE:STRING=${CTEST_SITE}
BUILDNAME:STRING=${CTEST_BUILD_NAME}
QT_QMAKE_EXECUTABLE:FILEPATH=/Users/Shared/Toolkits/Qt-4.5.1-
UBFramework/bin/qmake
CMAKE_BUILD_TYPE:STRING=Debug
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON
CMAKE_OSX_ARCHITECTURES:STRING=x86_64
VTK_USE_RPATH:BOOL=ON
VTK_USE_64BIT_IDS:BOOL=ON
VTK_USE_CARBON:BOOL=OFF
VTK_USE_COCOA:BOOL=ON
PARAVIEW_BUILD_PLUGIN_Prism:BOOL=OFF
CMAKE_INSTALL_PREFIX:PATH=/Users/Shared/Toolkits/ParaView-3.6-x64
"
)
and that file is called from a shell script file using the following:
ctest -S ${PARAVIEW_DASHBOARD}/ParaView36Dashboard.cmake -V
Looking at the activity meter, there is barely any cpu being used
during the build. Looking at the process list only shows a single
instance of gcc running at any one time. Thoughts?
Thanks
_________________________________________________________
Mike Jackson [email protected]
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview