Changeset 25650
- Timestamp:
- 10/07/20 08:11:22 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/issm_options.m4
r25648 r25650 2492 2492 dnl optimization{{{ 2493 2493 dnl -- bypass standard optimization -g -O2 -fPIC -std=c++11? 2494 dnl NOTE: Added -Wno-deprecated-register flag to clear,2495 dnl2496 dnl externalpackages/dakota/install/include/MPIPackBuffer.hpp:301:8: warning:2497 dnl 'register' storage class specifier is deprecated and incompatible with2498 dnl C++17 [-Wdeprecated-register]2499 dnl for (register typename ContainerT::size_type i=0; i<len; ++i) {2500 dnl2501 dnl when Dakota 6.2 is installed (may be an issue in other versions; likely2502 dnl will not be needed at all in future versions)2503 dnl2504 2494 AC_ARG_WITH( 2505 2495 [cxxoptflags], 2506 AS_HELP_STRING([--with-cxxoptflags=CXXOPTFLAGS], [C++ optimization flags (i.e. --with-cxxoptflags="-march=opteron -O3 -std=c++11 -Wno-deprecated-register"]),2496 AS_HELP_STRING([--with-cxxoptflags=CXXOPTFLAGS], [C++ optimization flags (i.e. --with-cxxoptflags="-march=opteron -O3 -std=c++11"]), 2507 2497 [CXXOPTFLAGS=${withval}], 2508 [CXXOPTFLAGS="-g -O2 -fPIC -std=c++11 -Wno-deprecated-register"]2498 [CXXOPTFLAGS="-g -O2 -fPIC -std=c++11"] 2509 2499 ) 2510 2500 AC_MSG_CHECKING(for C++ optimization flags)
Note:
See TracChangeset
for help on using the changeset viewer.