summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2014-03-06 18:01:40 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-07 20:22:14 (GMT)
commitc236691b32f4532d4da6db77322b4446e3802e3f (patch)
tree2cc0b077536e7e42033b983123a9b3cadf7e8cfe
parentf096786d5428505f8313f6b01f4631f5a34b27a2 (diff)
downloadCMake-c236691b32f4532d4da6db77322b4446e3802e3f.zip
CMake-c236691b32f4532d4da6db77322b4446e3802e3f.tar.gz
CMake-c236691b32f4532d4da6db77322b4446e3802e3f.tar.bz2
KWSys 2014-03-06 (9c653603)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 9c653603 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' b1916e0a..9c653603 Brad King (1): 9c653603 Process: Suppress IBM XL warning about infinite loop in test Change-Id: I3a1f36707bcfff0f34e0176528d9c792384ac8c5
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 083d865..52bcfe1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1225,6 +1225,9 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Some Apple compilers produce bad optimizations in this source.
IF(APPLE AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|LLVM)$")
SET_SOURCE_FILES_PROPERTIES(testProcess.c PROPERTIES COMPILE_FLAGS -O0)
+ ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "XL")
+ # Tell IBM XL not to warn about our test infinite loop
+ SET_PROPERTY(SOURCE testProcess.c PROPERTY COMPILE_FLAGS -qsuppress=1500-010)
ENDIF()
# Test SharedForward