mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
Remove now-unused code once used on IRIX
We dropped support for IRIX as a host platform long ago. Remove some leftover code.
This commit is contained in:
parent
5a283b79e5
commit
beb991110d
@ -28,13 +28,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "AIX")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "IRIX")
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-woff84 -no_auto_include")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-woff15")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM MATCHES "OSF1-V")
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -timplicit_local -no_implicit_include ")
|
||||
|
@ -22,9 +22,6 @@ if(NOT CMAKE_SKIP_COMPATIBILITY_TESTS)
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
include(TestCXXAcceptsFlag)
|
||||
set(CMAKE_TRY_ANSI_CXX_FLAGS "")
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "IRIX")
|
||||
set(CMAKE_TRY_ANSI_CXX_FLAGS "-LANG:std")
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "OSF")
|
||||
set(CMAKE_TRY_ANSI_CXX_FLAGS "-std strict_ansi -nopure_cname")
|
||||
endif()
|
||||
|
@ -10,16 +10,10 @@ const char info_sizeof_dptr[] = {
|
||||
};
|
||||
|
||||
/* Application Binary Interface. */
|
||||
#if defined(__sgi) && defined(_ABIO32)
|
||||
# define ABI_ID "ELF O32"
|
||||
#elif defined(__sgi) && defined(_ABIN32)
|
||||
# define ABI_ID "ELF N32"
|
||||
#elif defined(__sgi) && defined(_ABI64)
|
||||
# define ABI_ID "ELF 64"
|
||||
|
||||
/* Check for (some) ARM ABIs.
|
||||
* See e.g. http://wiki.debian.org/ArmEabiPort for some information on this. */
|
||||
#elif defined(__GNU__) && defined(__ELF__) && defined(__ARM_EABI__)
|
||||
#if defined(__GNU__) && defined(__ELF__) && defined(__ARM_EABI__)
|
||||
# define ABI_ID "ELF ARMEABI"
|
||||
#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEB__)
|
||||
# define ABI_ID "ELF ARM"
|
||||
|
@ -135,9 +135,6 @@ function(compiler_id_detection outvar lang)
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define ${CID_PREFIX}COMPILER_ID \"MIPSpro\"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define ${CID_PREFIX}COMPILER_ID \"HP\"
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
# BSD/OS BSD/OS
|
||||
# FreeBSD FreeBSD
|
||||
# HP-UX HP-UX
|
||||
# IRIX IRIX
|
||||
# Linux Linux
|
||||
# GNU/kFreeBSD GNU/kFreeBSD
|
||||
# NetBSD NetBSD
|
||||
|
@ -33,13 +33,7 @@
|
||||
#if 0
|
||||
! Application Binary Interface
|
||||
#endif
|
||||
#if defined(__sgi) && defined(_ABIO32)
|
||||
PRINT *, 'INFO:abi[ELF O32]'
|
||||
#elif defined(__sgi) && defined(_ABIN32)
|
||||
PRINT *, 'INFO:abi[ELF N32]'
|
||||
#elif defined(__sgi) && defined(_ABI64)
|
||||
PRINT *, 'INFO:abi[ELF 64]'
|
||||
#elif defined(__ELF__)
|
||||
#if defined(__ELF__)
|
||||
PRINT *, 'INFO:abi[ELF]'
|
||||
#endif
|
||||
PRINT *, 'ABI Detection'
|
||||
|
@ -105,8 +105,6 @@
|
||||
# endif
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
PRINT *, 'INFO:compiler[VisualAge]'
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
PRINT *, 'INFO:compiler[MIPSpro]'
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
PRINT *, 'INFO:compiler[HP]'
|
||||
#elif defined(NAGFOR)
|
||||
@ -114,11 +112,7 @@
|
||||
#define COMPILER_VERSION_MAJOR DEC(__NAG_COMPILER_RELEASE/10)
|
||||
#define COMPILER_VERSION_MINOR DEC(__NAG_COMPILER_RELEASE % 10)
|
||||
#define COMPILER_VERSION_PATCH DEC(__NAG_COMPILER_BUILD)
|
||||
#elif 1
|
||||
# if 0
|
||||
! The above 'elif 1' instead of 'else' is to work around a bug in the
|
||||
! SGI preprocessor which produces both the __sgi and else blocks.
|
||||
# endif
|
||||
#else
|
||||
PRINT *, 'INFO:compiler[]'
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
@ -148,8 +142,6 @@
|
||||
PRINT *, 'INFO:platform[SunOS]'
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
PRINT *, 'INFO:platform[AIX]'
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
PRINT *, 'INFO:platform[IRIX]'
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
PRINT *, 'INFO:platform[HP-UX]'
|
||||
#elif defined(__HAIKU__)
|
||||
@ -178,11 +170,7 @@
|
||||
PRINT *, 'INFO:platform[ULTRIX]'
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
PRINT *, 'INFO:platform[Xenix]'
|
||||
#elif 1
|
||||
# if 0
|
||||
! The above 'elif 1' instead of 'else' is to work around a bug in the
|
||||
! SGI preprocessor which produces both the __sgi and else blocks.
|
||||
# endif
|
||||
#else
|
||||
PRINT *, 'INFO:platform[]'
|
||||
#endif
|
||||
#if defined(_WIN32) && (defined(__INTEL_COMPILER) || defined(__ICC))
|
||||
|
@ -32,9 +32,6 @@
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
|
@ -1,53 +0,0 @@
|
||||
set(CMAKE_DL_LIBS "")
|
||||
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -rdata_shared")
|
||||
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath
|
||||
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_CREATE_STATIC_LIBRARY
|
||||
"<CMAKE_CXX_COMPILER> -ar -o <TARGET> <OBJECTS>")
|
||||
set (CMAKE_CXX_FLAGS_INIT "")
|
||||
set (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
|
||||
set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3 -DNDEBUG")
|
||||
set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG")
|
||||
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2")
|
||||
set (CMAKE_C_FLAGS_INIT "")
|
||||
endif()
|
||||
# set flags for gcc support
|
||||
include(Platform/UnixPaths)
|
||||
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCC)
|
||||
set (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||
set (CMAKE_C_CREATE_ASSEMBLY_SOURCE
|
||||
"<CMAKE_C_COMPILER> <FLAGS> -S <SOURCE>"
|
||||
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
set (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||
set (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE
|
||||
"<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE>"
|
||||
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_COMPILER_IS_GNUG77)
|
||||
set (CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||
set (CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE
|
||||
"<CMAKE_Fortran_COMPILER> <FLAGS> -S <SOURCE>"
|
||||
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Initialize C link type selection flags. These flags are used when
|
||||
# building a shared library, shared module, or executable that links
|
||||
# to other libraries to select whether to use the static or shared
|
||||
# versions of the libraries.
|
||||
foreach(type SHARED_LIBRARY SHARED_MODULE EXE)
|
||||
set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic")
|
||||
set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic")
|
||||
endforeach()
|
||||
|
||||
# The IRIX linker needs to find transitive shared library dependencies
|
||||
# in the -L path.
|
||||
set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1)
|
@ -1,73 +0,0 @@
|
||||
set(CMAKE_DL_LIBS "")
|
||||
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -rdata_shared")
|
||||
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath
|
||||
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty
|
||||
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCC)
|
||||
# Set default flags init.
|
||||
set(CMAKE_C_FLAGS_INIT "")
|
||||
set(CMAKE_CXX_FLAGS_INIT "")
|
||||
set(CMAKE_Fortran_FLAGS_INIT "")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_INIT "")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "")
|
||||
set(CMAKE_MODULE_LINKER_FLAGS_INIT "")
|
||||
|
||||
# If no -o32, -n32, or -64 flag is given, set a reasonable default.
|
||||
if("$ENV{CFLAGS} $ENV{CXXFLAGS} $ENV{LDFLAGS}" MATCHES "-([no]32|64)")
|
||||
else()
|
||||
# Check if this is a 64-bit CMake.
|
||||
if(CMAKE_FILE_SELF MATCHES "^CMAKE_FILE_SELF$")
|
||||
exec_program(file ARGS ${CMAKE_COMMAND} OUTPUT_VARIABLE CMAKE_FILE_SELF)
|
||||
set(CMAKE_FILE_SELF "${CMAKE_FILE_SELF}" CACHE INTERNAL
|
||||
"Output of file command on ${CMAKE_COMMAND}.")
|
||||
endif()
|
||||
|
||||
# Set initial flags to match cmake executable.
|
||||
if(CMAKE_FILE_SELF MATCHES " 64-bit ")
|
||||
set(CMAKE_C_FLAGS_INIT "-64")
|
||||
set(CMAKE_CXX_FLAGS_INIT "-64")
|
||||
set(CMAKE_Fortran_FLAGS_INIT "-64")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_INIT "-64")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-64")
|
||||
set(CMAKE_MODULE_LINKER_FLAGS_INIT "-64")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Set remaining defaults.
|
||||
set(CMAKE_CXX_CREATE_STATIC_LIBRARY
|
||||
"<CMAKE_CXX_COMPILER> -ar -o <TARGET> <OBJECTS>")
|
||||
set (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
|
||||
set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3 -DNDEBUG")
|
||||
set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG")
|
||||
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2")
|
||||
endif()
|
||||
include(Platform/UnixPaths)
|
||||
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCC)
|
||||
set (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||
set (CMAKE_C_CREATE_ASSEMBLY_SOURCE
|
||||
"<CMAKE_C_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE>"
|
||||
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
set (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||
set (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE
|
||||
"<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE>"
|
||||
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Initialize C link type selection flags. These flags are used when
|
||||
# building a shared library, shared module, or executable that links
|
||||
# to other libraries to select whether to use the static or shared
|
||||
# versions of the libraries.
|
||||
foreach(type SHARED_LIBRARY SHARED_MODULE EXE)
|
||||
set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic")
|
||||
set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic")
|
||||
endforeach()
|
||||
|
||||
# The IRIX linker needs to find transitive shared library dependencies
|
||||
# in the -L path.
|
||||
set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1)
|
@ -12,7 +12,7 @@ Determine the number of processors/cores and save value in ${var}
|
||||
Sets the variable named ${var} to the number of physical cores
|
||||
available on the machine if the information can be determined.
|
||||
Otherwise it is set to 0. Currently this functionality is implemented
|
||||
for AIX, cygwin, FreeBSD, HPUX, IRIX, Linux, macOS, QNX, Sun and
|
||||
for AIX, cygwin, FreeBSD, HPUX, Linux, macOS, QNX, Sun and
|
||||
Windows.
|
||||
|
||||
This function is guaranteed to return a positive integer (>=1) if it
|
||||
@ -114,22 +114,6 @@ function(ProcessorCount var)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT count)
|
||||
# IRIX (systems with hinv):
|
||||
find_program(ProcessorCount_cmd_hinv hinv
|
||||
PATHS /sbin)
|
||||
mark_as_advanced(ProcessorCount_cmd_hinv)
|
||||
if(ProcessorCount_cmd_hinv)
|
||||
execute_process(COMMAND ${ProcessorCount_cmd_hinv}
|
||||
ERROR_QUIET
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
OUTPUT_VARIABLE hinv_output)
|
||||
string(REGEX MATCHALL "([0-9]+) .* Processors" procs "${hinv_output}")
|
||||
set(count "${CMAKE_MATCH_1}")
|
||||
#message("ProcessorCount: trying hinv '${ProcessorCount_cmd_hinv}'")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT count)
|
||||
# AIX (systems with lsconf):
|
||||
find_program(ProcessorCount_cmd_lsconf lsconf
|
||||
|
@ -30,7 +30,7 @@ Notes about linking on various platforms:
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Linux, FreeBSD, macOS, IRIX, Sun, Windows:
|
||||
Linux, FreeBSD, macOS, Sun, Windows:
|
||||
|
||||
Linking to libraries using the full path works fine.
|
||||
|
||||
|
@ -597,7 +597,6 @@ if(BUILD_TESTING)
|
||||
else()
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "PGI"
|
||||
OR CMAKE_CXX_COMPILER_ID MATCHES "PathScale"
|
||||
OR CMAKE_SYSTEM_NAME MATCHES "IRIX64"
|
||||
OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
set(run_pic_test 0)
|
||||
else()
|
||||
|
@ -414,78 +414,6 @@ set(hp_f90_64_libs "-l:libF90.a;-l:libIO77.a;m;c;unwind;uca")
|
||||
set(hp_f90_64_dirs "/usr/lib/hpux64;/opt/langtools/lib/hpux64")
|
||||
list(APPEND platforms hp_f90_64)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# IRIX
|
||||
|
||||
# cc -o32 dummy.c -v
|
||||
set(irix64_cc_o32_text "/usr/lib/ld -elf -_SYSTYPE_SVR4 -require_dynamic_link _rld_new_interface -no_unresolved -Wx,-G 0 -o32 -mips2 -call_shared -g0 -KPIC -L/usr/lib/ -nocount /usr/lib/crt1.o -count dummy.o -nocount -lc /usr/lib/crtn.o")
|
||||
set(irix64_cc_o32_libs "c")
|
||||
set(irix64_cc_o32_dirs "/usr/lib")
|
||||
list(APPEND platforms irix64_cc_o32)
|
||||
|
||||
# cc -n32 dummy.c -v
|
||||
set(irix64_cc_n32_text "/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o dummy.o -dont_warn_unused -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused")
|
||||
set(irix64_cc_n32_libs "c")
|
||||
set(irix64_cc_n32_dirs "/usr/lib32/mips4/r10000;/usr/lib32/mips4;/usr/lib32")
|
||||
list(APPEND platforms irix64_cc_n32)
|
||||
|
||||
# cc -64 dummy.c -v
|
||||
set(irix64_cc_64_text "/usr/lib32/cmplrs/ld64 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -64 -L/usr/lib64/mips4/r10000 -L/usr/lib64/mips4 -L/usr/lib64 /usr/lib64/mips4/crt1.o dummy.o -dont_warn_unused -Bdynamic -lc /usr/lib64/mips4/crtn.o -warn_unused")
|
||||
set(irix64_cc_64_libs "c")
|
||||
set(irix64_cc_64_dirs "/usr/lib64/mips4/r10000;/usr/lib64/mips4;/usr/lib64")
|
||||
list(APPEND platforms irix64_cc_64)
|
||||
|
||||
# CC -o32 dummy.cxx -v
|
||||
set(irix64_CC_o32_text "/usr/lib/ld -elf -cxx -woff 134 -_SYSTYPE_SVR4 -require_dynamic_link _rld_new_interface -no_unresolved -Wx,-G 0 -o32 -mips2 -call_shared -g0 -KPIC -L/usr/lib/ -nocount /usr/lib/crt1.o /usr/lib/c++init.o -count dummy.o -nocount -dont_warn_unused -lC -warn_unused -lc /usr/lib/crtn.o")
|
||||
set(irix64_CC_o32_libs "C;c")
|
||||
set(irix64_CC_o32_dirs "/usr/lib")
|
||||
list(APPEND platforms irix64_CC_o32)
|
||||
|
||||
# CC -n32 dummy.cxx -v
|
||||
set(irix64_CC_n32_text "/usr/lib32/cmplrs/ld32 -call_shared -init _main -fini _fini -no_unresolved -transitive_link -demangle -elf -_SYSTYPE_SVR4 -LANG:std -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 -cxx -woff 134 /usr/lib32/mips4/crt1.o /usr/lib32/c++init.o dummy.o -dont_warn_unused -lCsup -lC -lCio -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused")
|
||||
set(irix64_CC_n32_libs "Csup;C;Cio;c")
|
||||
set(irix64_CC_n32_dirs "/usr/lib32/mips4/r10000;/usr/lib32/mips4;/usr/lib32")
|
||||
list(APPEND platforms irix64_CC_n32)
|
||||
|
||||
# CC -64 dummy.cxx -v
|
||||
set(irix64_CC_64_text "/usr/lib32/cmplrs/ld64 -call_shared -init _main -fini _fini -no_unresolved -transitive_link -demangle -elf -_SYSTYPE_SVR4 -LANG:std -show -mips4 -64 -L/usr/lib64/mips4/r10000 -L/usr/lib64/mips4 -L/usr/lib64 -cxx -woff 134 /usr/lib64/mips4/crt1.o /usr/lib64/c++init.o dummy.o -dont_warn_unused -lCsup -lC -lCio -Bdynamic -lc /usr/lib64/mips4/crtn.o -warn_unused")
|
||||
set(irix64_CC_64_libs "Csup;C;Cio;c")
|
||||
set(irix64_CC_64_dirs "/usr/lib64/mips4/r10000;/usr/lib64/mips4;/usr/lib64")
|
||||
list(APPEND platforms irix64_CC_64)
|
||||
|
||||
# f77 -o32 dummy.f -v
|
||||
set(irix64_f77_o32_text "/usr/lib/ld -elf -_SYSTYPE_SVR4 -require_dynamic_link _rld_new_interface -no_unresolved -Wx,-G 0 -o32 -mips2 -call_shared -g0 -KPIC -L/usr/lib/ -nocount /usr/lib/crt1.o -count dummy.o -nocount -lftn -lm -lc /usr/lib/crtn.o")
|
||||
set(irix64_f77_o32_libs "ftn;m;c")
|
||||
set(irix64_f77_o32_dirs "/usr/lib")
|
||||
list(APPEND platforms irix64_f77_o32)
|
||||
|
||||
# f77 -n32 dummy.f -v
|
||||
set(irix64_f77_n32_text "/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o dummy.o -dont_warn_unused -lftn -lm -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused")
|
||||
set(irix64_f77_n32_libs "ftn;m;c")
|
||||
set(irix64_f77_n32_dirs "/usr/lib32/mips4/r10000;/usr/lib32/mips4;/usr/lib32")
|
||||
list(APPEND platforms irix64_f77_n32)
|
||||
|
||||
# f77 -64 dummy.f -v
|
||||
set(irix64_f77_64_text "/usr/lib32/cmplrs/ld64 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -64 -L/usr/lib64/mips4/r10000 -L/usr/lib64/mips4 -L/usr/lib64 /usr/lib64/mips4/crt1.o dummy.o -dont_warn_unused -lftn -lm -Bdynamic -lc /usr/lib64/mips4/crtn.o -warn_unused")
|
||||
set(irix64_f77_64_libs "ftn;m;c")
|
||||
set(irix64_f77_64_dirs "/usr/lib64/mips4/r10000;/usr/lib64/mips4;/usr/lib64")
|
||||
list(APPEND platforms irix64_f77_64)
|
||||
|
||||
# f90 -o32 dummy.f -v
|
||||
#f90 ERROR: specified abi -o32 not supported.
|
||||
|
||||
# f90 -n32 dummy.f -v
|
||||
set(irix64_f90_n32_text "/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o dummy.o -dont_warn_unused -lfortran -lffio -lftn -lm -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused")
|
||||
set(irix64_f90_n32_libs "fortran;ffio;ftn;m;c")
|
||||
set(irix64_f90_n32_dirs "/usr/lib32/mips4/r10000;/usr/lib32/mips4;/usr/lib32")
|
||||
list(APPEND platforms irix64_f90_n32)
|
||||
|
||||
# f90 -64 dummy.f -v
|
||||
set(irix64_f90_64_text "/usr/lib32/cmplrs/ld64 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -64 -L/usr/lib64/mips4/r10000 -L/usr/lib64/mips4 -L/usr/lib64 /usr/lib64/mips4/crt1.o dummy.o -dont_warn_unused -lfortran -lffio -lftn -lm -Bdynamic -lc /usr/lib64/mips4/crtn.o -warn_unused")
|
||||
set(irix64_f90_64_libs "fortran;ffio;ftn;m;c")
|
||||
set(irix64_f90_64_dirs "/usr/lib64/mips4/r10000;/usr/lib64/mips4;/usr/lib64")
|
||||
list(APPEND platforms irix64_f90_64)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Cygwin
|
||||
|
||||
|
@ -332,7 +332,6 @@ if (APPLE OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
else()
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "PGI"
|
||||
OR CMAKE_CXX_COMPILER_ID MATCHES "PathScale"
|
||||
OR CMAKE_SYSTEM_NAME MATCHES "IRIX64"
|
||||
OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
set(run_pic_test 0)
|
||||
else()
|
||||
|
@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6)
|
||||
project(SUBDIR)
|
||||
|
||||
# Some systems do not seem to support rpath with spaces.
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "IRIX|QNX")
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "QNX")
|
||||
set(CMAKE_SKIP_BUILD_RPATH 1)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user