[Cmake-commits] CMake branch, next, updated. v3.6.2-2605-gb14a22a
Brad King
brad.king at kitware.com
Wed Sep 28 16:05:12 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via b14a22a7b64fedabef98580d976793774b964c72 (commit)
via f4162856313a21fd1b7fe7b28836a741da269849 (commit)
via 09a6bd820eb04570226b16ebd8cd7dcb49dac5d8 (commit)
from 2d08affd8e32537aefcb3418315cc5a3a0d62592 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b14a22a7b64fedabef98580d976793774b964c72
commit b14a22a7b64fedabef98580d976793774b964c72
Merge: 2d08aff f416285
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Sep 28 16:05:12 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Sep 28 16:05:12 2016 -0400
Merge topic 'suppress-pgi-warnings' into next
f4162856 CompileFlags: Tell PGI compiler not to issue warning diagnostics
09a6bd82 CTestCustom: Suppress PGI IPA warnings
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f4162856313a21fd1b7fe7b28836a741da269849
commit f4162856313a21fd1b7fe7b28836a741da269849
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Sep 28 16:03:14 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Sep 28 16:03:14 2016 -0400
CompileFlags: Tell PGI compiler not to issue warning diagnostics
When hosting CMake's own build with the PGI compiler there are several
warnings that cannot easily be fixed or suppressed. We have enough code
quality tools and warnings from other compilers that it is unlikely a
PGI-only warning is useful.
diff --git a/CompileFlags.cmake b/CompileFlags.cmake
index 382787c..c875e6f 100644
--- a/CompileFlags.cmake
+++ b/CompileFlags.cmake
@@ -71,6 +71,13 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL SunPro)
endif()
endif()
+foreach(lang C CXX)
+ # Suppress warnings from PGI compiler.
+ if (CMAKE_${lang}_COMPILER_ID STREQUAL "PGI")
+ set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -w")
+ endif()
+endforeach()
+
# use the ansi CXX compile flag for building cmake
if (CMAKE_ANSI_CXXFLAGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=09a6bd820eb04570226b16ebd8cd7dcb49dac5d8
commit 09a6bd820eb04570226b16ebd8cd7dcb49dac5d8
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Sep 28 16:00:17 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Sep 28 16:00:17 2016 -0400
CTestCustom: Suppress PGI IPA warnings
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 710681c..48dd3de 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -67,6 +67,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values"
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
+ "IPA warning: function.*multiply defined in"
# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression:
-----------------------------------------------------------------------
Summary of changes:
CTestCustom.cmake.in | 1 +
CompileFlags.cmake | 7 +++++++
2 files changed, 8 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list