Skip to content

Driver: do not generate a dSYM bundle for static archives #37526

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 1 commit into from
May 20, 2021

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented May 20, 2021

When building a static library with debug information, do not create a
dSYM generation job as it cannot be executed on a non-image target.
This is important for the case where the single invocation is both the
compile and link job.

This was detected in conjunction with @gottesmm

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@gottesmm
Copy link
Contributor

@swift-ci test

@gottesmm gottesmm requested a review from artemcm May 20, 2021 04:35
@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 2c881bf3104d9e9d75f35bb8576b15f27cbb694e

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 2c881bf3104d9e9d75f35bb8576b15f27cbb694e

@compnerd compnerd force-pushed the dsym-static branch 2 times, most recently from 84e4937 to 3dfbcfa Compare May 20, 2021 15:15
@compnerd
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 3dfbcfa11b43dafb9eb48672b980756eb209f43e

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 3dfbcfa11b43dafb9eb48672b980756eb209f43e

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

@swift-ci please test

When building a static library with debug information, do not create a
dSYM generation job as it cannot be executed on a non-image target.
This is important for the case where the single invocation is both the
compile and link job.

This was detected in conjunction with @gottesmm.
@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

@swift-ci please test macOS

@compnerd
Copy link
Member Author

@swift-ci please test Linux

@gottesmm
Copy link
Contributor

Windows failures are related to concurrency. I don't think it should stop this from going in.

@compnerd
Copy link
Member Author

The Windows failures are not related (tests are coming online due to LLVM changes)

@compnerd compnerd merged commit e031e3f into swiftlang:main May 20, 2021
@compnerd compnerd deleted the dsym-static branch May 20, 2021 23:05
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.

4 participants