[Cmake-commits] CMake branch, next, updated. v3.3.0-rc3-790-ge54b8fd

Brad King brad.king at kitware.com
Thu Jul 2 09:22:04 EDT 2015


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  e54b8fd0b32b2fc7f2f2c2c6cc819ffd458d6688 (commit)
       via  a33fb493de9098a22c4a3bd58a49e32ee156f0f8 (commit)
      from  ff763c5f0b9c2ef2e8994a445d3354139608340d (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e54b8fd0b32b2fc7f2f2c2c6cc819ffd458d6688
commit e54b8fd0b32b2fc7f2f2c2c6cc819ffd458d6688
Merge: ff763c5 a33fb49
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Jul 2 09:22:03 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jul 2 09:22:03 2015 -0400

    Merge topic 'xlc-no-qalias-flag' into next
    
    a33fb493 XL: Drop -qalias=noansi from default C flags


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a33fb493de9098a22c4a3bd58a49e32ee156f0f8
commit a33fb493de9098a22c4a3bd58a49e32ee156f0f8
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Jul 2 09:20:14 2015 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Jul 2 09:20:14 2015 -0400

    XL: Drop -qalias=noansi from default C flags
    
    This was added without explanation by commit v2.8.2~1138 (Add initial XL
    C compiler flags for safer builds, 2009-09-30).  It is not consistent
    with our default C++ flags for XL and disables several optimizations, so
    drop it from our default flags for C.
    
    Suggested-by: Todd Gamblin <tgamblin at llnl.gov>

diff --git a/Modules/Compiler/XL-ASM.cmake b/Modules/Compiler/XL-ASM.cmake
index 07507f9..212179e 100644
--- a/Modules/Compiler/XL-ASM.cmake
+++ b/Modules/Compiler/XL-ASM.cmake
@@ -1,9 +1,8 @@
 set(CMAKE_ASM_VERBOSE_FLAG "-V")
 
 # -qthreaded     = Ensures that all optimizations will be thread-safe
-# -qalias=noansi = Turns off type-based aliasing completely (safer optimizer)
 # -qhalt=e       = Halt on error messages (rather than just severe errors)
-set(CMAKE_ASM_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e -qsourcetype=assembler")
+set(CMAKE_ASM_FLAGS_INIT "-qthreaded -qhalt=e -qsourcetype=assembler")
 
 set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g")
 set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O -DNDEBUG")
diff --git a/Modules/Compiler/XL-C.cmake b/Modules/Compiler/XL-C.cmake
index 09a5529..97dd017 100644
--- a/Modules/Compiler/XL-C.cmake
+++ b/Modules/Compiler/XL-C.cmake
@@ -4,6 +4,5 @@ set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG")
 set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG")
 
 # -qthreaded     = Ensures that all optimizations will be thread-safe
-# -qalias=noansi = Turns off type-based aliasing completely (safer optimizer)
 # -qhalt=e       = Halt on error messages (rather than just severe errors)
-set(CMAKE_C_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e")
+set(CMAKE_C_FLAGS_INIT "-qthreaded -qhalt=e")

-----------------------------------------------------------------------

Summary of changes:
 Modules/Compiler/XL-ASM.cmake |    3 +--
 Modules/Compiler/XL-C.cmake   |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list