diff options
author | Ben Morgan <drbenmorgan@users.noreply.github.com> | 2016-12-13 21:15:10 +0000 |
---|---|---|
committer | becker33 <becker33@llnl.gov> | 2016-12-13 13:15:10 -0800 |
commit | fb809189d3310328602d795b0ce9c77dc3452351 (patch) | |
tree | f3b71fbb0ea9b19f9336be5857a057631990d771 /bin/spack-python | |
parent | f613445eb2c0bf89ae54803754d46e7cbca64c49 (diff) | |
download | spack-fb809189d3310328602d795b0ce9c77dc3452351.tar.gz spack-fb809189d3310328602d795b0ce9c77dc3452351.tar.bz2 spack-fb809189d3310328602d795b0ce9c77dc3452351.tar.xz spack-fb809189d3310328602d795b0ce9c77dc3452351.zip |
Better cxx11/14/17 flags for GNU/Clang/Intel (#2539)
* Better cxx11/14 flags for GNU/Clang/Intel
- GCC 4.8 only supports -std=c++1y for C++14
- Use CMake's rules for AppleClang to set cxx11 and cxx14 flags based on
Apple Xcode/LLVM version
- Use CMake's rules for Intel to add support for cxx14 flags based on
Intel version.
* Add cxx17_flag property
Implement property in compiler for c++17 as per those for c++11/14.
Add concrete support for GNU/Clang:
- Return -std=c++1z for GCC 5 and above per GCC documentation
- Return -std=c++1z for Clang 3.5 and above per Clang documentation
- Return -std=c++1z for Apple LLVM 6.1 and above per CMake's rules
Diffstat (limited to 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions