llvm.org GIT mirror llvm / 7796c35
Reverting r226937: lit: Make MCJIT's supported arch check case insensitive The r226937 commit causes ASan lit tests to be all skipped on OS X. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226979 91177308-0d34-0410-b5e6-96231b3b80d8 Kuba Brecka 5 years ago
3 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
695695 set(ENABLE_ASSERTIONS "0")
696696 endif()
697697
698 set(HOST_OS ${CMAKE_SYSTEM_NAME})
698699 set(HOST_ARCH ${CMAKE_SYSTEM_PROCESSOR})
699700
700701 set(HOST_CC "${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1}")
77
88 # FIXME: autoconf and cmake produce different arch names. We should normalize
99 # them before getting here.
10 if root.host_arch.lower() not in ['i386', 'x86', 'x86_64', 'amd64', 'aarch64',
11 'arm', 'mips', 'powerpc', 'ppc64', 'systemz']:
10 if root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64',
11 'AArch64', 'ARM', 'Mips', 'PowerPC', 'ppc64', 'SystemZ']:
1212 config.unsupported = True
1313
1414 if 'armv7' in root.host_arch:
2121 config.enable_assertions = @ENABLE_ASSERTIONS@
2222 config.targets_to_build = "@TARGETS_TO_BUILD@"
2323 config.llvm_bindings = "@LLVM_BINDINGS@".split(' ')
24 config.host_os = "@HOST_OS@"
2425 config.host_arch = "@HOST_ARCH@"
2526 config.host_cc = "@HOST_CC@"
2627 config.host_cxx = "@HOST_CXX@"