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

Results of the spike investigation into CMake. #7114

Merged
merged 1 commit into from
Oct 22, 2019
Merged

Results of the spike investigation into CMake. #7114

merged 1 commit into from
Oct 22, 2019

Conversation

amoss
Copy link
Contributor

@amoss amoss commented Oct 16, 2019

Summary

Fixes #4310

Component Name

area/deamon

Additional Information

This is a summary of the investigation results from the spike. Everything is contained in BUILD.md in the root of the repo. The tl;dr is "yes, we should switch to cmake", and we know how to implement each of the cases that we will encounter. This is not a strict recipe for how to do this as we had to control the scope of the investigation and start writing a prototype of the new build-system.

Everybody who is affected by changing build-systems should review the file. [If I've missed anybody as reviewer that is affected please add them]. If you any major problems please comment straight away so that we can start discussing them. If you don't see anything major then the next step will be an internal meeting to check that we have a common understanding of how the replacement will work, and what effect it will have on everybody's areas. After that meeting I will create a fresh issue (connect/close any old outstanding issues) and describe what needs to be done in the prototype in enough detail that we can estimate timescales (based on the steps in the Recommendations section).

The document is not attached to the pull-request separately as it will need changes based on feedback and I don't want a stale copy of it.

@squash-labs
Copy link

squash-labs bot commented Oct 16, 2019

Manage this branch in Squash

Test this branch here: https://amossspike-cmake-clean-5aq6q.squash.io

Note: I did not find an explicit way to select compiler when both `clang` and `gcc` are
present. We might have an implicit way (like redirecting `cc`) but we should put one in.


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you have 3 blank lines here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For luck :) I can remove them...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I did not wanna force nobody approve it again! :D

Copy link
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a format problem, but this is small, congratulations @amoss !

@amoss amoss merged commit 509882e into netdata:master Oct 22, 2019
jackyhuang85 pushed a commit to jackyhuang85/netdata that referenced this pull request Jan 1, 2020
The BUILD.md will be updated during the progress of netdata#7150.
@amoss amoss deleted the spike_cmake_clean branch January 15, 2020 17:50
Saruspete pushed a commit to Saruspete/netdata that referenced this pull request May 21, 2020
The BUILD.md will be updated during the progress of netdata#7150.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SPIKE] Investigate switch to CMake and use CPack
5 participants