mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 03:29:47 +00:00
Remove now-unused code once used for MIPSpro on IRIX
In commit beb991110d
(Remove now-unused code once used on IRIX,
2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support.
Also remove remnants of MIPSpro compiler support.
This commit is contained in:
parent
eb08e68b77
commit
214fcefa52
@ -13,7 +13,7 @@ fi
|
||||
# $2: language (e.g. C/CXX/Fortran)
|
||||
# $3: The compiler ID, defaults to GNU.
|
||||
# Possible values are: GNU, Intel, Clang, SunPro, HP, XL, VisualAge, PGI,
|
||||
# PathScale, Cray, SCO, MIPSpro, MSVC
|
||||
# PathScale, Cray, SCO, MSVC
|
||||
# $4: optional extra arguments to cmake, e.g. "-DCMAKE_SIZEOF_VOID_P=8"
|
||||
# $5: optional path to cmake binary
|
||||
AC_DEFUN([CMAKE_FIND_PACKAGE], [
|
||||
|
@ -24,7 +24,6 @@ include:
|
||||
HP = Hewlett-Packard Compiler (hp.com)
|
||||
IAR = IAR Systems (iar.com)
|
||||
Intel = Intel Compiler (intel.com)
|
||||
MIPSpro = SGI MIPSpro (sgi.com)
|
||||
MSVC = Microsoft Visual Studio (microsoft.com)
|
||||
NVIDIA = NVIDIA CUDA Compiler (nvidia.com)
|
||||
OpenWatcom = Open Watcom (openwatcom.org)
|
||||
|
@ -86,8 +86,6 @@ function(compiler_id_detection outvar lang)
|
||||
SDCC
|
||||
)
|
||||
endif()
|
||||
list(APPEND ordered_compilers
|
||||
MIPSpro)
|
||||
|
||||
#Currently the only CUDA compilers are NVIDIA
|
||||
if(lang STREQUAL CUDA)
|
||||
|
@ -96,13 +96,6 @@
|
||||
# if defined(__FLANG_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FLANG_PATCHLEVEL__)
|
||||
# endif
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
PRINT *, 'INFO:compiler[MIPSpro]'
|
||||
# if 0
|
||||
! This compiler is either not known or is too old to define an
|
||||
! identification macro. Try to identify the platform and guess that
|
||||
! it is the native compiler.
|
||||
# endif
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
PRINT *, 'INFO:compiler[VisualAge]'
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
|
@ -1 +0,0 @@
|
||||
set(CMAKE_C_VERBOSE_FLAG "-v")
|
@ -1 +0,0 @@
|
||||
set(CMAKE_CXX_VERBOSE_FLAG "-v")
|
@ -1,15 +0,0 @@
|
||||
|
||||
set(_compiler_id_pp_test "defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)")
|
||||
|
||||
set(_compiler_id_version_compute "
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_SGI_COMPILER_VERSION/100)
|
||||
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_COMPILER_VERSION/100)
|
||||
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_COMPILER_VERSION/10 % 10)
|
||||
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_COMPILER_VERSION % 10)
|
||||
# endif")
|
@ -1,3 +0,0 @@
|
||||
set(CMAKE_Fortran_VERBOSE_FLAG "-v")
|
||||
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixedform")
|
||||
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-freeform")
|
@ -96,7 +96,6 @@ function(_OPENMP_FLAG_CANDIDATES LANG)
|
||||
else()
|
||||
set(OMP_FLAG_Intel "-qopenmp")
|
||||
endif()
|
||||
set(OMP_FLAG_MIPSpro "-mp")
|
||||
set(OMP_FLAG_MSVC "-openmp")
|
||||
set(OMP_FLAG_PathScale "-openmp")
|
||||
set(OMP_FLAG_NAG "-openmp")
|
||||
|
@ -15,11 +15,11 @@ int main() { return 0; }
|
||||
# List manglings of global symbol names to try.
|
||||
set(global_symbols
|
||||
my_sub # VisualAge
|
||||
my_sub_ # GNU, Intel, HP, SunPro, MIPSpro, PGI
|
||||
my_sub_ # GNU, Intel, HP, SunPro, PGI
|
||||
my_sub__ # GNU g77
|
||||
MY_SUB # Intel on Windows
|
||||
mysub # VisualAge
|
||||
mysub_ # GNU, Intel, HP, SunPro, MIPSpro, PGI
|
||||
mysub_ # GNU, Intel, HP, SunPro, PGI
|
||||
MYSUB # Intel on Windows
|
||||
${FortranCInterface_GLOBAL_SYMBOLS}
|
||||
)
|
||||
@ -48,7 +48,6 @@ set(module_symbols
|
||||
list(REMOVE_DUPLICATES module_symbols)
|
||||
|
||||
# Note that some compiler manglings cannot be invoked from C:
|
||||
# MIPSpro uses "MY_SUB.in.MY_MODULE"
|
||||
# SunPro uses "my_module.my_sub_"
|
||||
# PathScale uses "MY_SUB.in.MY_MODULE"
|
||||
|
||||
|
@ -1862,13 +1862,6 @@ int cmGlobalGenerator::Build(int jobs, const std::string& /*unused*/,
|
||||
output += *outputPtr;
|
||||
cmSystemTools::SetRunCommandHideConsole(hideconsole);
|
||||
|
||||
// The SGI MipsPro 7.3 compiler does not return an error code when
|
||||
// the source has a #error in it! This is a work-around for such
|
||||
// compilers.
|
||||
if ((retVal == 0) && (output.find("#error") != std::string::npos)) {
|
||||
retVal = 1;
|
||||
}
|
||||
|
||||
// The OpenWatcom tools do not return an error code when a link
|
||||
// library is not found!
|
||||
if (this->CMakeInstance->GetState()->UseWatcomWMake() && retVal == 0 &&
|
||||
|
@ -46,7 +46,7 @@ function(test_fortran_c_interface_module)
|
||||
FortranCInterface_VERIFY()
|
||||
FortranCInterface_VERIFY(CXX)
|
||||
if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
|
||||
if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro|PathScale|Absoft")
|
||||
if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|PathScale|Absoft")
|
||||
set(module_expected 1)
|
||||
endif()
|
||||
if(FortranCInterface_MODULE_FOUND OR module_expected)
|
||||
|
@ -77,7 +77,7 @@ endif(APPLE)
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
if(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
@ -2,7 +2,7 @@ project(JsonCpp CXX)
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "PathScale")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -woffall")
|
||||
|
@ -60,7 +60,7 @@ SET(CMAKE_REQUIRED_FLAGS)
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
@ -183,7 +183,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
@ -2,7 +2,7 @@ project(librhash C)
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
if(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
@ -2,7 +2,7 @@ project(libuv C)
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
if(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
@ -2,7 +2,7 @@ PROJECT(CMZLIB)
|
||||
|
||||
# Disable warnings to avoid changing 3rd party code.
|
||||
if(CMAKE_C_COMPILER_ID MATCHES
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
|
||||
"^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
|
||||
|
Loading…
Reference in New Issue
Block a user