diff options
author | Chris Green <greenc@fnal.gov> | 2018-06-08 15:49:31 -0500 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2018-06-08 13:49:31 -0700 |
commit | 15c98fa57c0022df3c3788f19b3febd484d8ccd7 (patch) | |
tree | f285eb74e697f4ff2ad581eee8c3d69c06a5a7d7 /etc | |
parent | ceb2790f30c5ad5a9d90121057bb93f45448778e (diff) | |
download | spack-15c98fa57c0022df3c3788f19b3febd484d8ccd7.tar.gz spack-15c98fa57c0022df3c3788f19b3febd484d8ccd7.tar.bz2 spack-15c98fa57c0022df3c3788f19b3febd484d8ccd7.tar.xz spack-15c98fa57c0022df3c3788f19b3febd484d8ccd7.zip |
compiler flags: add cxx98 standard support (#7601)
The following improvements are made to cxx standard support
(e.g. compiler.cxxNN_flag functions) in compilers:
* Add cxx98_flag property
* Add support for throwing an exception when a flag is not supported (previously
if a flag was not supported the application was terminated with tty.die)
* The name of the flag associated with e.g. c++14 standard support changes for
different compiler versions (e.g. c++1y vs c++14). This makes a few corrections
on what flag to return for which version.
* Added tests to confirm that versions report expected flags for various c++
standards (or raise an exception for versions that don't provide a given cxx
standard)
Note that if a given cxx standard is the default, the associated flag property will
return ""; cxx98 is assumed to be the default standard so this is the behavior for
the associated property in the base compiler class.
Package changes:
* Improvements to the boost spec to take advantage of the improved standard
flag facility.
* Update the clingo spec to catch the new exception rather than look for an
empty flag to indicate non-support (which is not part of the compiler flag API)
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions