Skip to content

Conversation

AnthonyLatsis
Copy link

…L for some target triples (llvm#159796)

The problem with the current target={{.*}}-darwin{{.*}} XFAIL condition (changed in llvm#130144) is that the Swift build script uses Apple platform names like 'macosx', not 'darwin', for the LLVM target triple, e.g. arm64-apple-macosx13.0.

These tests appear to have been originally XFAILed because the default format on macOS (darwin) adds newlines as padding to align members. See: https://github.com/llvm/llvm-project/blob/ee8394d9469a2946ffe2e7d192c593ecf3f93098/llvm/lib/Object/ArchiveWriter.cpp#L897-L904

Use --format=gnu to cope with the differences in the output and reenable the tests.

rdar://157213658
(cherry picked from commit 33e82e6)

…L for some target triples (llvm#159796)

The problem with the current `target={{.*}}-darwin{{.*}}` XFAIL
condition (changed in llvm#130144)
is that the Swift build script uses Apple platform names like 'macosx',
not 'darwin', for the LLVM target triple, e.g. `arm64-apple-macosx13.0`.

These tests appear to have been originally XFAILed because the default
format on macOS (darwin) adds newlines as padding to align members. See:
https://github.com/llvm/llvm-project/blob/ee8394d9469a2946ffe2e7d192c593ecf3f93098/llvm/lib/Object/ArchiveWriter.cpp#L897-L904

Use `--format=gnu` to cope with the differences in the output and
reenable the tests.

rdar://157213658
(cherry picked from commit 33e82e6)
@AnthonyLatsis AnthonyLatsis requested a review from bnbarham October 7, 2025 22:49
@AnthonyLatsis
Copy link
Author

@swift-ci please test

@AnthonyLatsis
Copy link
Author

@swift-ci please test macOS

@AnthonyLatsis AnthonyLatsis merged commit f3a4f1e into stable/21.x Oct 8, 2025
3 checks passed
@AnthonyLatsis AnthonyLatsis deleted the jepa-stable branch October 8, 2025 22:48
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