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
Testing with C++14 standard #1914
Comments
These nightly tests on White test c++14: c++17 testing: Adding @crtrott @nmhamster @srajama1 @kyungjoo-kim |
@ndellingwood - should the This configuration line does not seem to put the standard on the compile line:
|
@nmhamster I thought it should I'll look into it, thanks for checking |
OK this does work:
It seems weird to me that we wouldn't set the |
@nmhamster Can you check the KokkosCore_config file in the first case if you didn't blow that build away? When I tested with gcc and cuda it was showing that macro |
With gcc I can set
|
Checking this issue with xl now... |
On White with ibm xl/16.1.0 I run into errors. Makefile configuration:
Sample compilation line - c++ standard is missing: But if I generate the makefile without the
|
Here we go, in @nmhamster thanks for catching this issue! |
Part of issue #1914, this allows the XL compiler to properly set flags for c++14, c++17, etc.
This is the first set of errors from XL running with
|
Did a quick spot check GCC 7.2.0 on POWER9 with OpenMP and |
Spot check on GCC 7.2.0 with CUDA 9.2 on POWER9/Volta also looks good. |
@nmhamster @crtrott using xl/16.1.0 on White seems to be broken with c++14 as the standard. Simple reproducer: // complex_add_cpp14.cpp
#include <iostream>
#include <complex>
int main() {
std::complex<double> a(1.5,2.5);
std::complex<double> b(3.25,5.75);
std::complex<double> r;
r = a+b;
std::cout << " r = " << r << std::endl;
return 0;
} This will compile with
Broken with Errors:
|
Part of issue #1914, this allows the XL compiler to properly set flags for c++14
@nmhamster @crtrott thanks for helping resolve the include and lib path issues on White to fix the errors in the previous comment. |
PR #1926 merged with |
Part of issue #1914, this allows the XL compiler to properly set flags for c++14
generate_makefile.bash
See PR generate_makefile: add option for setting cxx standard #1913
test_all_sandia
script to support setting cxx standardSee PR test_all_sandia: update to set cxx standard #1915
The text was updated successfully, but these errors were encountered: