Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake reruns multiple times #1005

Open
lifflander opened this issue Aug 25, 2020 · 3 comments
Open

CMake reruns multiple times #1005

lifflander opened this issue Aug 25, 2020 · 3 comments
Assignees

Comments

@lifflander
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Copy link
Collaborator

nmm0 commented Sep 22, 2020

@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

nmm0 added a commit that referenced this issue Nov 10, 2020
…revent it from causing cmake to re-run every time the git state has changed
nmm0 added a commit that referenced this issue Nov 10, 2020
nmm0 added a commit that referenced this issue Nov 10, 2020
@lifflander
Copy link
Collaborator Author

@nmm0 Hey, are you still working on this? Does the PR you opened (#1144) do anything useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants