[Cmake-commits] CMake branch, next, updated. v3.0.1-4848-g120be8c

Brad King brad.king at kitware.com
Mon Aug 11 10:33:37 EDT 2014


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  120be8c8a323841d3d70bb8137d629b60b047cb0 (commit)
       via  0578c283e88c40957c7f43c653dd8c75d8c7782e (commit)
      from  2e4f89e45d407c33f08a004b6fd083f54f52548b (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=120be8c8a323841d3d70bb8137d629b60b047cb0
commit 120be8c8a323841d3d70bb8137d629b60b047cb0
Merge: 2e4f89e 0578c28
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Aug 11 10:33:36 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Aug 11 10:33:36 2014 -0400

    Merge topic 'fujitsu-compiler-id' into next
    
    0578c283 Add Fujitsu compiler detection


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0578c283e88c40957c7f43c653dd8c75d8c7782e
commit 0578c283e88c40957c7f43c653dd8c75d8c7782e
Author:     Erik Lindahl <erik at kth.se>
AuthorDate: Sun Aug 10 22:55:44 2014 +0200
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Aug 11 10:31:06 2014 -0400

    Add Fujitsu compiler detection
    
    The Fujitsu C/C++ compilers are the default ones for K computer.
    Detect both native and cross compilers by looking for the __FUJITSU
    preprocessor definition.

diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index e247885..19bcbcc 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -74,6 +74,7 @@ function(compiler_id_detection outvar lang)
       PGI
       Cray
       TI
+      Fujitsu
     )
     if (lang STREQUAL C)
       list(APPEND ordered_compilers
diff --git a/Modules/Compiler/Fujitsu-DetermineCompiler.cmake b/Modules/Compiler/Fujitsu-DetermineCompiler.cmake
new file mode 100644
index 0000000..73ee38c
--- /dev/null
+++ b/Modules/Compiler/Fujitsu-DetermineCompiler.cmake
@@ -0,0 +1,2 @@
+
+set(_compiler_id_pp_test "defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)")

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

Summary of changes:
 Modules/CMakeCompilerIdDetection.cmake           |    1 +
 Modules/Compiler/Fujitsu-DetermineCompiler.cmake |    2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 Modules/Compiler/Fujitsu-DetermineCompiler.cmake


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list