Overview

Request 764792 accepted

- use cmake generics in marcos.cmake

Loading...

Anonymous User's avatar

This comment has been deleted


Christoph Junghans's avatar

I should say this is all backwards compatible and the only new macro is cmake_builder_deps, which is optional.


Martin Pluskal's avatar

Calling cmake instead of builders has allegedly performance impact that is noticeable.


Christoph Junghans's avatar

Isn't that just an O(1) launch overhead.


Martin Pluskal's avatar

Well yes, and this overhead is causing noticeable performance issues.


Christoph Junghans's avatar

Hmm,

I did the following test to measure the launch overhead: ``` cd votca-tools/build ln -s /usr/bin/ninja ninja cmake -GNinja -DCMAKE_MAKE_PROGRAM=$PWD/ninja .. ln -sf /bin/true ninja time cmake --build .

real 0m0.005s user 0m0.001s sys 0m0.005s ``` (compare here: https://build.opensuse.org/package/show/home:cjunghans:branches:devel:tools:building/votca-tools)

which is basically nothing. After the launch through CMake there should be no difference.


Request History
Christoph Junghans's avatar

cjunghans created request

- use cmake generics in marcos.cmake


Dirk Mueller's avatar

dirkmueller accepted request

openSUSE Build Service is sponsored by