diff options
author | Brad King <brad.king@kitware.com> | 2019-02-21 18:30:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-25 13:24:28 (GMT) |
commit | 6f5cf2d2c6cf2eaa9f21fff8a4f1309de2963a47 (patch) | |
tree | 389b76d0d669aa505c67d3478df98c35ff519f7e /Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake | |
parent | 90c6156aa8272ec9811647d9b6c87d7ee4326e35 (diff) | |
download | CMake-6f5cf2d2c6cf2eaa9f21fff8a4f1309de2963a47.zip CMake-6f5cf2d2c6cf2eaa9f21fff8a4f1309de2963a47.tar.gz CMake-6f5cf2d2c6cf2eaa9f21fff8a4f1309de2963a47.tar.bz2 |
XL: Revert "Recognize compilers identified by __ibmxl__"
Revert commit eb1a9be4b6 (XL: Recognize compilers identified by
__ibmxl__, 2018-03-05, v3.11.0-rc3~4^2). It is no longer needed because
we now use `__ibmxl__` to identify with compiler id `XLClang`.
Diffstat (limited to 'Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake')
-rw-r--r-- | Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake b/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake index e5b9741..899e284 100644 --- a/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake +++ b/Modules/Compiler/IBMCPP-C-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 - /* __IBMC__ = VRP */ -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMC__/100) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMC__/10 % 10) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMC__ % 10) -# endif -") + /* __IBMC__ = VRP */ +# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMC__/100) +# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMC__/10 % 10) +# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMC__ % 10)") |