-
Notifications
You must be signed in to change notification settings - Fork 42
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
Bring in C++ configuration change to mirror flux-core #270
Conversation
Change the name of GCCWARN to WARNING_CFLAGS to eliminate the gcc-specificity from the name. Granted it is unlikely, but WARNING_CFLAGS might potentially have different values depending on the detected compiler, without requiring changes to each Makefile.am. The name is also now in keeping with our other *_CFLAGS named variables. Also, we change from @GCCWARN@ to the more common variable usage $(WARNING_CFLAGS). This will help a little bit with coming C++ flags.
Update ax_code_coverage.m4 to the latest from https://www.gnu.org/software/autoconf-archive/ax_code_coverage.html. This new version supports C++ with a CODE_COVERAGE_CXXFLAGS variable. Rename CODE_COVERAGE_LDFLAGS to CODE_COVERAGE_LIBS since the newer m4 file deprecates the former.
Introduce the WARNING_CXXFLAGS variable.
Introduce the AX_CXX_COMPILE_STDCXX macro from https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html. Employ the macro to set the C++ compiler to use C++11.
Codecov Report
@@ Coverage Diff @@
## master #270 +/- ##
==========================================
+ Coverage 71.83% 72.17% +0.34%
==========================================
Files 29 29
Lines 5954 5862 -92
==========================================
- Hits 4277 4231 -46
+ Misses 1677 1631 -46
Continue to review full report at Codecov.
|
@@ -1,5 +1,5 @@ | |||
# =========================================================================== |
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.
This answers my other question in your jobspec PR!
Looks good to me. Merging. |
This branch mirrors the changes that were made to flux-core in PR flux-framework/flux-core#1204.