summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-26 16:07:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-26 16:07:54 (GMT)
commit3c7662fd625079553d3edd004fcf2b3348d38415 (patch)
treef9bbfa6670f0e5fd17f146a5559887b558e9a8b0 /Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake
parent5ac1c809f7cc257807afc1fa779150aa1738fe4a (diff)
parentd9d285c5ad2987ed4aa3ff89093818239781708f (diff)
downloadCMake-3c7662fd625079553d3edd004fcf2b3348d38415.zip
CMake-3c7662fd625079553d3edd004fcf2b3348d38415.tar.gz
CMake-3c7662fd625079553d3edd004fcf2b3348d38415.tar.bz2
Merge topic 'add-xlclang'
d9d285c5ad jsoncpp: Fix include order for build within CMake 0d489fab19 libuv: fix atomic ops compilation with xlclang 1699f5c231 Utilities: Suppress warnings in third-party code when using XLClang f709089d84 XLClang: Extract compiler implicit include directories 5c41386357 XLClang: Add policy CMP0089 to present as XL for compatibility 8278237933 XL: Remove overlap with the new XLClang compiler ID 6f5cf2d2c6 XL: Revert "Recognize compilers identified by __ibmxl__" 90c6156aa8 XLClang: Add a new compiler ID for the clang-based XL compiler ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2921
Diffstat (limited to 'Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake')
-rw-r--r--Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake16
1 files changed, 4 insertions, 12 deletions
diff --git a/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake b/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake
index 63c3e32..73aa2b4 100644
--- a/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake
+++ b/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake
@@ -1,14 +1,6 @@
set(_compiler_id_version_compute "
-# if defined(__ibmxl__)
-# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__ibmxl_version__)
-# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__ibmxl_release__)
-# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ibmxl_modification__)
-# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__ibmxl_ptf_fix_level__)
-# else
- /* __IBMCPP__ = VRP */
-# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMCPP__/100)
-# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMCPP__/10 % 10)
-# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMCPP__ % 10)
-# endif
-")
+ /* __IBMCPP__ = VRP */
+# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMCPP__/100)
+# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMCPP__/10 % 10)
+# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMCPP__ % 10)")