Browse Source

Merge topic 'remove-comeau'

957670683d Comeau: Remove undocumented support for this compiler

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8881
Brad King 2 years ago
parent
commit
0ef68c1c05

+ 0 - 5
Modules/CMakeCompilerIdDetection.cmake

@@ -42,11 +42,6 @@ function(compiler_id_detection outvar lang)
 
     # Order is relevant here. For example, compilers which pretend to be
     # GCC must appear before the actual GCC.
-    if ("x${lang}" STREQUAL "xCXX")
-      list(APPEND ordered_compilers
-        Comeau
-      )
-    endif()
     list(APPEND ordered_compilers
       Intel
       IntelLLVM

+ 0 - 7
Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake

@@ -1,7 +0,0 @@
-
-set(_compiler_id_pp_test "defined(__COMO__)")
-
-set(_compiler_id_version_compute "
-  /* __COMO_VERSION__ = VRR */
-# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__COMO_VERSION__ / 100)
-# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__COMO_VERSION__ % 100)")