From 1612f8c4208f8f7d235125c54fe27dc2b1dbc2e1 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 10 Jan 2017 19:51:17 +0000 Subject: [CMake][libcxx] Move Python check to main CMake file This is to make sure this check is called even when building as part of LLVM runtimes when we are doing standalone but not out of tree build. Differential Revision: https://reviews.llvm.org/D28392 llvm-svn: 291592 --- libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake') diff --git a/libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake b/libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake index 7fee839d273..ee0f3182e54 100644 --- a/libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake +++ b/libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake @@ -95,13 +95,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() -- cgit v1.2.3