Skip to content

[lldb] Use add_custom_command for SBLanguages.h (#91254) #8705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2024

Conversation

JDevlieghere
Copy link

Use add_custom_command instead of add_custom_target to generate SBLanguages.h.

(cherry picked from commit 3809e20)

Use add_custom_command instead of add_custom_target to generate
SBLanguages.h.

(cherry picked from commit 3809e20)
@JDevlieghere
Copy link
Author

@swift-ci test

@JDevlieghere
Copy link
Author

@swift-ci test macos

Alex pointed out in llvm#91254 that we only need the custom target if we had
more than one target depending on it. This isn't the case upstream, but
on our downstream fork, we have a second dependency. Reintroduce the
target so that everything can depend on that, without the
single-dependency foot-gun.

(cherry picked from commit dad1109)
@JDevlieghere
Copy link
Author

@swift-ci test

@JDevlieghere
Copy link
Author

@swift-ci test windows

@adrian-prantl adrian-prantl self-requested a review May 8, 2024 03:34
@adrian-prantl adrian-prantl merged commit c0b2519 into swift/release/6.0 May 8, 2024
3 checks passed
@JDevlieghere JDevlieghere deleted the jdevlieghere/cherrypick/3809e20 branch May 8, 2024 15:21
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