summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake
blob: 4d899213a3ec9b10f9fa7f822e163adfb2d6eba8 (plain)
1
2
3
4
5
6
7
8
set(_compiler_id_pp_test "defined(__ibmxl__) && defined(__clang__)")

set(_compiler_id_version_compute "
# 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__)
")