Skip to content

[lldb/test] Fix libcxx configuration handling for remote platforms - #12024

Merged
adrian-prantl merged 2 commits into
swiftlang:swift/release/6.3from
medismailben:swift/release/6.3
Dec 18, 2025
Merged

adrian-prantl merged 2 commits into
swiftlang:swift/release/6.3from
medismailben:swift/release/6.3

Conversation

@medismailben

Copy link
Copy Markdown

When using --platform remote-* options, explicitly clear the libcxx
configuration variables instead of just warning and continuing with
potentially set values. This prevents the test suite from attempting to
use custom libcxx paths on remote platforms where they're not
applicable.

Also initialize libcxx variables to None when not specified, ensuring a
clean state regardless of how the arguments are parsed.

JDevlieghere and others added 2 commits December 17, 2025 16:02
We emit a warning when running the test suite remotely that says the
libcxx arguments will be ignored, but because they're set outside the
conditional block, we're not actually do this. Fix the logic by moving
the configuration in the conditional else-block.

(cherry picked from commit db322be)
…lvm#172761)

When using --platform remote-* options, explicitly clear the libcxx
configuration variables instead of just warning and continuing with
potentially set values. This prevents the test suite from attempting to
use custom libcxx paths on remote platforms where they're not
applicable.

Also initialize libcxx variables to None when not specified, ensuring a
clean state regardless of how the arguments are parsed.

Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
(cherry picked from commit f8377f5)
@medismailben
medismailben requested a review from a team as a code owner December 18, 2025 00:03
@medismailben

Copy link
Copy Markdown
Author

@swift-ci test

@medismailben

Copy link
Copy Markdown
Author

@swift-ci test macOS platform

@medismailben

Copy link
Copy Markdown
Author

@swift-ci test windows platform

@adrian-prantl
adrian-prantl merged commit 69757c8 into swiftlang:swift/release/6.3 Dec 18, 2025
3 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.

3 participants