Skip to content

[cpullvm] Fix Windows LLDB Python plugin distribution - #663

Merged
srilakshmi yalamaraju (sriyalamar) merged 1 commit into
qualcomm:release/qualcomm-software/23.xfrom
sriyalamar:fix/23x-lldb-python-windows
Sep 9, 2026
Merged

[cpullvm] Fix Windows LLDB Python plugin distribution#663
srilakshmi yalamaraju (sriyalamar) merged 1 commit into
qualcomm:release/qualcomm-software/23.xfrom
sriyalamar:fix/23x-lldb-python-windows

Conversation

@sriyalamar

@sriyalamar srilakshmi yalamaraju (sriyalamar) commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Exclude lldbPluginScriptInterpreterPython from Windows distribution components because the plugin is not built when dynamic Python script interpreters are disabled on Windows.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching/fixing this.

I'm ok if this goes in as-is, but if builds haven't finished yet it might be worth resolving WIN32 vs CMAKE_HOST_WIN32 just to avoid any possible confusion in the future. Maybe just putting the new change in the check to set LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS would be easiest

Comment thread qualcomm-software/CMakeLists.txt Outdated
CACHE STRING ""
)
if(NOT WIN32)
list(APPEND LLVM_DISTRIBUTION_COMPONENTS lldbPluginScriptInterpreterPython)

@jonathonpenix Jonathon Penix (jonathonpenix) Sep 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth moving this down into the same check as where we enable LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS since that is what controls whether we need this or not.

It'd also resolve the mix between WIN32 and CMAKE_HOST_WIN32--I'm not actually sure what the right one is here, but IIUC they aren't the same and we need the checks to both fire at the same time.

(In practice they might be essentially the same since we never cross compile the toolchains, but I'm not sure if there are other 'gotchas' I'm missing)

@jonathonpenix

Copy link
Copy Markdown
Contributor

Just as an example of what I mean, see https://github.com/qualcomm/cpullvm-toolchain/pull/665/changes

I don't mind too much which way we go for the branch (I think they should be the same for what we're doing), just need to pick one.

…LDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS

We don't set LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS on Windows, which causes build failures.

Signed-off-by: syalamar <syalamar@qti.qualcomm.com>
@sriyalamar
srilakshmi yalamaraju (sriyalamar) merged commit 17fae84 into qualcomm:release/qualcomm-software/23.x Sep 9, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants