Skip to content

Commit 22e2233

Browse files
authored
caches: tweak the Windows toolchain build
Update the toolchain configuration to disable the python home embedding. This should allow us to be more freestanding of the python location and give us better control of the python library being used. (cherry picked from commit 6992026)
1 parent 6f512ad commit 22e2233

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmake/caches/Windows-arm64.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ set(LLVM_TOOL_LLVM_SHLIB_BUILD NO CACHE BOOL "")
6666
# Avoid swig dependency for lldb
6767
set(LLDB_ALLOW_STATIC_BINDINGS YES CACHE BOOL "")
6868
set(LLDB_USE_STATIC_BINDINGS YES CACHE BOOL "")
69+
set(LLDB_ENABLE_PYTHON YES CACHE BOOL "")
70+
set(LLDB_EMBED_PYTHON_HOME NO CACHE BOOL "")
6971

7072
# This requires perl which may not be available on Windows
7173
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")

cmake/caches/Windows-x86_64.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ set(LLVM_TOOL_LLVM_SHLIB_BUILD NO CACHE BOOL "")
6666
# Avoid swig dependency for lldb
6767
set(LLDB_ALLOW_STATIC_BINDINGS YES CACHE BOOL "")
6868
set(LLDB_USE_STATIC_BINDINGS YES CACHE BOOL "")
69+
set(LLDB_ENABLE_PYTHON YES CACHE BOOL "")
70+
set(LLDB_EMBED_PYTHON_HOME NO CACHE BOOL "")
6971

7072
# This requires perl which may not be available on Windows
7173
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")

0 commit comments

Comments
 (0)