File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function( get_host_triple var )
34
34
endif ()
35
35
elseif ( CMAKE_SYSTEM_NAME MATCHES "OS390" )
36
36
set ( value "s390x-ibm-zos" )
37
- elseif ( CMAKE_SYSTEM_NAME STREQUAL AIX )
37
+ elseif ( CMAKE_SYSTEM_NAME STREQUAL " AIX" )
38
38
# We defer to dynamic detection of the host AIX version.
39
39
if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
40
40
set ( value "powerpc64-ibm-aix" )
Original file line number Diff line number Diff line change @@ -1330,7 +1330,7 @@ endif()
1330
1330
# linking (due to incompatibility). With MSVC, note that the plugin has to
1331
1331
# explicitly link against (exactly one) tool so we can't unilaterally turn on
1332
1332
# LLVM_ENABLE_PLUGINS when it's enabled.
1333
- if ("${CMAKE_SYSTEM_NAME} " MATCHES AIX )
1333
+ if ("${CMAKE_SYSTEM_NAME} " MATCHES " AIX" )
1334
1334
set (LLVM_EXPORT_SYMBOLS_FOR_PLUGINS_OPTION OFF )
1335
1335
else ()
1336
1336
set (LLVM_EXPORT_SYMBOLS_FOR_PLUGINS_OPTION ON )
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ function(llvm_ExternalProject_Add name source_dir)
99
99
list (APPEND ARG_TOOLCHAIN_TOOLS flang )
100
100
endif ()
101
101
# AIX 64-bit XCOFF and big AR format is not yet supported in some of these tools.
102
- if (NOT _cmake_system_name STREQUAL AIX )
102
+ if (NOT _cmake_system_name STREQUAL " AIX" )
103
103
list (APPEND ARG_TOOLCHAIN_TOOLS lld llvm-ar llvm-ranlib llvm-nm llvm-objdump )
104
104
if (_cmake_system_name STREQUAL Darwin )
105
105
list (APPEND ARG_TOOLCHAIN_TOOLS llvm-libtool-darwin llvm-lipo )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ if(LLVM_ENABLE_PIC)
25
25
26
26
set (LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR} /lto.exports )
27
27
28
- if (CMAKE_SYSTEM_NAME STREQUAL AIX )
28
+ if (CMAKE_SYSTEM_NAME STREQUAL " AIX" )
29
29
set (LTO_LIBRARY_TYPE MODULE )
30
30
set (LTO_LIBRARY_NAME libLTO )
31
31
else ()
You can’t perform that action at this time.
0 commit comments