[libc-commits] [libc] [libc] Find Python 3 in standalone (PR #118871)
Tristan Ross via libc-commits
libc-commits at lists.llvm.org
Thu Dec 5 13:48:53 PST 2024
================
@@ -30,6 +37,11 @@ endif()
# Default to C++17
set(CMAKE_CXX_STANDARD 17)
+if(LIBC_BUILT_STANDALONE)
+ find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
+ COMPONENTS Interpreter)
+endif()
----------------
RossComputerGuy wrote:
I'll add a comment about it at least, I'm not sure how we could add a check inside CMake to ensure the module exists.
https://github.com/llvm/llvm-project/pull/118871
More information about the libc-commits
mailing list