Re: [CMake] Ctest building with Multiple Processors

2014-09-08 Thread David Cole via CMake
I wrote this blog post a couple years ago claiming "one way to run a dashboard on windows": http://cmake.blogspot.com/2012/09/one-way-to-run-dashboard-on-windows.html As with all such things, there are, of course, multiple ways to solve "the problem." At the time I wrote it, I trusted Visual Stu

Re: [CMake] Ctest building with Multiple Processors

2014-09-06 Thread Michael Jackson
Is there a blog or other web site that would walk me through setting up a "Build Bot" on Windows for automated building/testing and submission to CDash? Thanks Mike Jackson On Sep 5, 2014, at 2:40 PM, Bill Hoffman wrote: > On 9/5/2014 11:49 AM, Chuck Atkins wrote: >> >> Unfortunately on Windo

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread Bill Hoffman
On 9/5/2014 11:49 AM, Chuck Atkins wrote: Unfortunately on Windows and VS builds there's not really a simple answer. My blog might be of help: http://www.kitware.com/blog/home/post/434 -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread Chuck Atkins
The easiest option with visual studio is to use the /mp compiler flag by setting it in the CFLAGS and CXXFLAGS environment variables in your ctest script. This will parallelize each target across all CPUs. Target-level parallelism may or may not also happen since that's dependent on your local co

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread Michael Jackson
What generator? All of them of course. I am trying to setup our "build bots" on several environments including OS X, Linux and Windows. I have ninja built and installed on the Windows machine. I would _prefer_ to use Visual Studio and ninja so that we have a sanity check to make sure both types

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread Chuck Atkins
> Actually my interpretation of the manual says that the _tests_ will be run > in parallel. What I want is the _Build_ to be run in parallel. > Indeed that is just the parallel test execution. Parallel build is usually generator specific, controlled through CTEST_BUILD_FLAGS. For example: if you

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread Michael Jackson
Actually my interpretation of the manual says that the _tests_ will be run in parallel. What I want is the _Build_ to be run in parallel. Thanks Mike Jackson On Sep 4, 2014, at 5:14 PM, Iosif Neitzke wrote: > Does ctest -j , or ctest --parallel behave differently? > > http://www.cmake.org/c

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread David Cole via CMake
No, they do not behave differently. "-j" and "--parallel" are aliases for each other, using either one goes through exactly the same command line argument processing code... HTH, David C. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cm

Re: [CMake] Ctest building with Multiple Processors

2014-09-04 Thread Iosif Neitzke
Does ctest -j , or ctest --parallel behave differently? http://www.cmake.org/cmake/help/v3.0/manual/ctest.1.html On Wed, Sep 3, 2014 at 2:31 PM, Michael Jackson wrote: > I am exploring CTest/CDash with out project and I was trying to figure out > how to have CTest use all my cores for builds.

[CMake] Ctest building with Multiple Processors

2014-09-03 Thread Michael Jackson
I am exploring CTest/CDash with out project and I was trying to figure out how to have CTest use all my cores for builds. So far no luck with some snippets from Google. So far I have the following in a file called CTestConfig.cmake at the top level of my project. set(CTEST_PROJECT_NAME "DREAM3