summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/BlueGeneP-static-XL-CXX.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-04-27 14:12:18 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-04-27 17:29:28 (GMT)
commitf320907b3d288930c80411a8e97f63eef0e8ec8b (patch)
tree1ad829d3c8b3c27886aaeb2d89198f6f8c647bd1 /Modules/Platform/BlueGeneP-static-XL-CXX.cmake
parentf0ae821681a0a0b4f411a0feb4a6f6e458475999 (diff)
downloadCMake-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/BlueGeneP-static-XL-CXX.cmake')
-rw-r--r--Modules/Platform/BlueGeneP-static-XL-CXX.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/BlueGeneP-static-XL-CXX.cmake b/Modules/Platform/BlueGeneP-static-XL-CXX.cmake
index 116c0bb..1df276e 100644
--- a/Modules/Platform/BlueGeneP-static-XL-CXX.cmake
+++ b/Modules/Platform/BlueGeneP-static-XL-CXX.cmake
@@ -3,3 +3,6 @@
__BlueGeneP_set_static_flags(XL CXX)
+
+# -qhalt=s = Halt on severe error messages
+string(APPEND CMAKE_CXX_FLAGS_INIT " -qhalt=s")