summaryrefslogtreecommitdiffstats
path: root/llvm/test/CMakeLists.txt
diff options
context:
space:
mode:
authorDanil Malyshev <dmalyshev@accesssoftek.com>2012-05-17 21:07:47 +0000
committerDanil Malyshev <dmalyshev@accesssoftek.com>2012-05-17 21:07:47 +0000
commit7c5db453504e64998f1f32ca54aeb4e5b59005d2 (patch)
tree48c717667ff9a2b975a745531bddd2818078fcb8 /llvm/test/CMakeLists.txt
parentdfb1097504a735e82abd973f5ac3c5d52d1a8c67 (diff)
downloadbcm5719-llvm-7c5db453504e64998f1f32ca54aeb4e5b59005d2.tar.gz
bcm5719-llvm-7c5db453504e64998f1f32ca54aeb4e5b59005d2.zip
- Added ExecutionEngine/MCJIT tests
- Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. llvm-svn: 157015
Diffstat (limited to 'llvm/test/CMakeLists.txt')
-rw-r--r--llvm/test/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index b9e73d087b0..ebea47d6916 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -49,6 +49,9 @@ else()
set(ENABLE_ASSERTIONS "0")
endif()
+set(HOST_OS ${CMAKE_HOST_SYSTEM_NAME})
+set(HOST_ARCH ${CMAKE_HOST_SYSTEM_PROCESSOR})
+
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
OpenPOWER on IntegriCloud