Re: [cmake-developers] CTest load balancing

2019-10-21 Thread Wouter Klouwen
On 16/10/2019 15:10, Brad King wrote: > On 10/16/19 10:05 AM, Wouter Klouwen wrote: >> Is the intent for CTest to specifically manage CPU load or system load >> overall? > > I don't think a careful distinction was made at the time. > > If Linux needs some updates

[cmake-developers] CTest load balancing

2019-10-16 Thread Wouter Klouwen
Hi all, CTest has a very useful feature that performs load balancing. This works by comparing the current system load to a target load. The current implementation defers to SystemInformationImplementation::GetLoadAverage() to return a value. This is implemented on the platforms that have

Re: [cmake-developers] Idea for Multi-Toolchain Support

2018-12-19 Thread Wouter Klouwen
Hello, just chiming in here. I work for a company that works with embedded devices, so cross compiling is our bread and butter. We have a super build system - in a combination of CMake and Makefile - that first builds a certain set of projects for the host platform and second builds for the

[cmake-developers] Unit testing CMake modules

2018-05-29 Thread Wouter Klouwen
Hi all, We have a rather large amount of CMake code (4k+ lines) in various modules/functions. They contain the common logic for many of our projects. This makes it quite an important base for everything our team does. Rather shamefully at present these modules are rather poorly tested. I'd like

Re: [cmake-developers] Source file dependencies

2017-12-09 Thread Wouter Klouwen
th of the stamp. Thanks again, W From: Craig Scott [craig.sc...@crascit.com] Sent: 07 December 2017 19:50 To: Wouter Klouwen Cc: CMake Developers Subject: Re: [cmake-developers] Source file dependencies [External email] Have a look at the documentation

[cmake-developers] Source file dependencies

2017-12-07 Thread Wouter Klouwen
Hi all, In trying to improve our build rules, one of the problems I encountered is that I effectively have some source files that cannot be compiled unless certain targets are run. I noticed that cmSourceFile has the AddDepend() method, which looks to do the kind of thing that I want to do.

[cmake-developers] Using monotonic time in CMake & CTest

2017-10-10 Thread Wouter Klouwen
Hi all, we've started to use CTest for our test running and it's generally running well. However, we sometimes get some odd timeouts in tests, and as such it has been noticed that ctest doesn't use monotonic test timers, but instead relies on gettimeofday(). When running on some of our devices,

Re: [cmake-developers] CTest script and many subprojects

2017-09-04 Thread Wouter Klouwen
Hi Zack, On 04/09/17 15:13, Zack Galbreath wrote: On Mon, Sep 4, 2017 at 7:50 AM, Wouter Klouwen <wouter.klou...@youview.com <mailto:wouter.klou...@youview.com>> wrote: I think if I want it to work in the most optimal way where ctest can schedule all tests in the mega pro

Re: [cmake-developers] CTest script and many subprojects

2017-09-04 Thread Wouter Klouwen
s probably the quickest way to achieve that. HTH, David C. On Fri, Sep 1, 2017 at 2:36 PM, Wouter Klouwen <wouter.klou...@youview.com> wrote: Hi all, I've been having some success with CTest and am interested in using CDash as well. In order to generate some nice output, sub projects seem to

[cmake-developers] CTest script and many subprojects

2017-09-01 Thread Wouter Klouwen
Hi all, I've been having some success with CTest and am interested in using CDash as well. In order to generate some nice output, sub projects seem to be the best way of presenting the data in CDash for our setup. This setup is perhaps summed up by having one projects that contains a few

Re: [cmake-developers] External projects & library dependencies

2017-04-11 Thread Wouter Klouwen
Hi Brad, thanks for taking the time to reply. On 11/04/17 18:00, Brad King wrote: On 04/11/2017 12:33 PM, Wouter Klouwen wrote: So in order to create a mega project I want to put all of the third party packages into the build system using ExternalProject_Add. This function does provide

[cmake-developers] External projects & library dependencies

2017-04-11 Thread Wouter Klouwen
Hello all, I've been converting a large build system to use CMake. At the moment it consists of a custom build system that builds 250+ projects plus a series of third party open source packages, that each have their own build system. After some effort I've been able to convert all of our own