summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/AddLLVM.cmake
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-01-23 21:11:40 +0000
committerReid Kleckner <reid@kleckner.net>2015-01-23 21:11:40 +0000
commit5f5036a0737df7872c95a6aed8dca9dd8a9052eb (patch)
treee44453360e1e6af772c0c5f6aba9bd13164322bc /llvm/cmake/modules/AddLLVM.cmake
parent479ee6135d04a013e22b5e6fec63d99214fcfb53 (diff)
downloadbcm5719-llvm-5f5036a0737df7872c95a6aed8dca9dd8a9052eb.tar.gz
bcm5719-llvm-5f5036a0737df7872c95a6aed8dca9dd8a9052eb.zip
lit: Make MCJIT's supported arch check case insensitive
Should make the tests run when using CMake on systems where 'uname -p' reports "amd64", such as FreeBSD. Should fix PR21559. llvm-svn: 226937
Diffstat (limited to 'llvm/cmake/modules/AddLLVM.cmake')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index ee55c52df6e..97f2aba3ba9 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -696,7 +696,6 @@ function(configure_lit_site_cfg input output)
set(ENABLE_ASSERTIONS "0")
endif()
- set(HOST_OS ${CMAKE_SYSTEM_NAME})
set(HOST_ARCH ${CMAKE_SYSTEM_PROCESSOR})
set(HOST_CC "${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1}")
OpenPOWER on IntegriCloud