Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: require C++11 for both release and devel.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c8d94a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might have a bootstrap issue here, as cmake is required to build the c++11 compiler clang-4.0 on these older systems...
c8d94a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm ... yeah that would be an issue, a chicken and egg problem, as it were.
did you test further to see if this really causes a bootstrap issue?
easiest solution would be to provide a "cmake39" port that supplies 3.9.0 (or cmake38 using the final 3.8 release), which does not require C++11 to build. doing this should not be particularly difficult.
c8d94a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't test it, but I think your cmake38 or cmake39 idea (last one that builds with gcc42, really) will likely be required to be held over.
Alternatively, we could force cmake to build through gcc6 (which uses autotools still, and probably forever will) but that's another whole kettle o' fish.
Last option is to build cmake with clang-3.7, which I believe is the last clang that we have that builds with autotools. It handles c++11 too.