diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2017-04-27 14:12:18 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2017-04-27 17:29:28 (GMT) |
commit | f320907b3d288930c80411a8e97f63eef0e8ec8b (patch) | |
tree | 1ad829d3c8b3c27886aaeb2d89198f6f8c647bd1 /Modules/Platform/BlueGeneQ-static-XL-C.cmake | |
parent | f0ae821681a0a0b4f411a0feb4a6f6e458475999 (diff) | |
download | CMake-f320907b3d288930c80411a8e97f63eef0e8ec8b.zip CMake-f320907b3d288930c80411a8e97f63eef0e8ec8b.tar.gz CMake-f320907b3d288930c80411a8e97f63eef0e8ec8b.tar.bz2 |
XL: Fix the use of the -qhalt flag for varying OSs
The valid settings to pass to the IBM XL compiler for the -qhalt flag
vary widely by language and platform. Based on existing documentation,
the following table shows which error levels are valid to pass to
-qhalt= since -qhalt=e is not always available.
OS | xlc | xlC | xlf |
---------|-------|------------------
AIX | iwes | iw s | ilwesu |
BlueGene | iwes | iwes | ilwesu |
OS X | iwesu | iwesu | ilwesu |
Linux | w | w | ilwesu |
Diffstat (limited to 'Modules/Platform/BlueGeneQ-static-XL-C.cmake')
-rw-r--r-- | Modules/Platform/BlueGeneQ-static-XL-C.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/BlueGeneQ-static-XL-C.cmake b/Modules/Platform/BlueGeneQ-static-XL-C.cmake index 465128f..67cd57d 100644 --- a/Modules/Platform/BlueGeneQ-static-XL-C.cmake +++ b/Modules/Platform/BlueGeneQ-static-XL-C.cmake @@ -3,3 +3,6 @@ __BlueGeneQ_setup_static(XL C) + +# -qhalt=e = Halt on error messages (rather than just severe errors) +string(APPEND CMAKE_C_FLAGS_INIT " -qhalt=e") |