summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-01-16 00:33:07 +0000
committerPetr Hosek <phosek@chromium.org>2017-01-16 00:33:07 +0000
commit3508e7a87750fe8ff30d44a9154e36509b0ceb8f (patch)
treec4c41b7868dec24721a1dcbe5f254da9614ae670 /cmake
parentf620d224b7415be8056a8850824c49ebfa69673c (diff)
downloadexternal_libcxx-3508e7a87750fe8ff30d44a9154e36509b0ceb8f.tar.gz
external_libcxx-3508e7a87750fe8ff30d44a9154e36509b0ceb8f.tar.bz2
external_libcxx-3508e7a87750fe8ff30d44a9154e36509b0ceb8f.zip
Reland "[CMake][libcxx] Move Python check to main CMake file"
This relands commit r291728. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/HandleOutOfTreeLLVM.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmake/Modules/HandleOutOfTreeLLVM.cmake b/cmake/Modules/HandleOutOfTreeLLVM.cmake
index 34dbcb753..879882dcf 100644
--- a/cmake/Modules/HandleOutOfTreeLLVM.cmake
+++ b/cmake/Modules/HandleOutOfTreeLLVM.cmake
@@ -96,13 +96,6 @@ macro(configure_out_of_tree_llvm)
endif()
# LLVM Options --------------------------------------------------------------
- include(FindPythonInterp)
- if( NOT PYTHONINTERP_FOUND )
- message(WARNING "Failed to find python interpreter. "
- "The libc++ test suite will be disabled.")
- set(LLVM_INCLUDE_TESTS OFF)
- endif()
-
if (NOT DEFINED LLVM_INCLUDE_TESTS)
set(LLVM_INCLUDE_TESTS ${LLVM_FOUND})
endif()