- use cmake generics in marcos.cmake
This comment has been deleted
I should say this is all backwards compatible and the only new macro is cmake_builder_deps, which is optional.
cmake_builder_deps
Calling cmake instead of builders has allegedly performance impact that is noticeable.
Isn't that just an O(1) launch overhead.
Well yes, and this overhead is causing noticeable performance issues.
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.
@dirkmueller, @simotek, @sumski: review reminder
cjunghans created request almost 5 years ago
dirkmueller accepted request almost 5 years ago
dirkmueller
simotek
The Open Build Service is an openSUSE project.
This comment has been deleted
I should say this is all backwards compatible and the only new macro is
cmake_builder_deps
, which is optional.Calling cmake instead of builders has allegedly performance impact that is noticeable.
Isn't that just an O(1) launch overhead.
Well yes, and this overhead is causing noticeable performance issues.
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.
@dirkmueller, @simotek, @sumski: review reminder