DARMA-tasking / vt

DARMA/vt => Virtual Transport
Other
35 stars 9 forks source link

CMake reruns multiple times #1005

Open lifflander opened 4 years ago

lifflander commented 4 years ago

Describe the bug CMake has to run multiple times due to something in our configuration. Identify this problem and see if we can solve it.

lifflander commented 4 years ago

Also, this might be related, the git sha is generated by CMake into a header file that is included for printing at startup. But, this means that CMake has to re-run if anything happens to git (even a local change). I'm not sure how useful this feature is. Maybe we can get the git status outside of cmake?

nmm0 commented 4 years ago

@lifflander I just checked and that's right. It looks like the code for getting git information intentionally causes configure to re-run. I don't think that's needed so I can probably find a way around it

lifflander commented 3 years ago

@nmm0 Hey, are you still working on this? Does the PR you opened (https://github.com/DARMA-tasking/vt/pull/1144) do anything useful?