Skip to content

Conversation

AnthonyLatsis
Copy link

@AnthonyLatsis AnthonyLatsis commented Aug 9, 2025

This reverts llvm#124735 to unblock Amazon Linux 2.

rdar://160890654

@AnthonyLatsis
Copy link
Author

@swift-ci please test llvm

@AnthonyLatsis AnthonyLatsis changed the title Revert "[lldb] Make Python >= 3.8 required for LLDB 21 (#124735)" [LLDB][cmake] Fix build with LLDB_ENABLE_PYTHON=NO Sep 18, 2025
Even if Python scripting is disabled, we still need a Python interpreter
to build, for example to generate SBLanguages.h or fix up the framework
headers.

(cherry picked from commit 1de6f65)
@AnthonyLatsis AnthonyLatsis changed the title [LLDB][cmake] Fix build with LLDB_ENABLE_PYTHON=NO [LLDB][cmake] Fix build when LLDB_ENABLE_PYTHON=NO Sep 19, 2025
@AnthonyLatsis
Copy link
Author

@swift-ci test macOS

Remove 'lldb-python-scripts' from LLVM_DISTRIBUTION_COMPONENTS when
Python scripting is disabled. Otherwise we get

```
Specified distribution component 'lldb-python-scripts' doesn't have an install target
```

(cherry picked from commit 1688011)
@AnthonyLatsis AnthonyLatsis merged commit 2c32e92 into stable/21.x Sep 19, 2025
@AnthonyLatsis AnthonyLatsis deleted the jepa-stable2 branch September 19, 2025 18:31
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