-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[build-script] Don't use the just-built dsymutil by default #85985
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
base: main
Are you sure you want to change the base?
Conversation
Doing so may have made sense back then, but at this point we should default to the one in the toolchain. When building with asserts, the just-built dsymutil will run the DWARF verifier which is slow and not really desirable in this context.
|
@swift-ci test |
| darwin-deployment-version-xros "1.0" "minimum deployment target version for xrOS" | ||
| darwin-install-extract-symbols "" "whether to extract symbols with dsymutil during installations" | ||
| darwin-install-extract-symbols-use-just-built-dsymutil "1" "whether we should extract symbols using the just built dsymutil" | ||
| darwin-install-extract-symbols-use-just-built-dsymutil "" "whether we should extract symbols using the just built dsymutil" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This alone will not guarantee that the dsymutil provided by the underlying toolchain/SDK is not built with asserts.
I think a better option is to to add --verify-dwarf none on the invocation on line 3096, and have users override this with --extra-dsymutil-args when needed (assuming dsymutil takes the last option, which I haven't verified)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add it, but I still don't think using the just-built dsymutil should be the default.
|
@swift-ci test |
edymtt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please generate the toolchain for macOS (@swift-ci please build toolchain macOS) to be sure we are not regressing the packaging job.
|
@swift-ci please build toolchain macOS |
|
Doing so may have made sense back then, but at this point we should default to the one in the toolchain. When building with asserts, the just-built dsymutil will run the DWARF verifier which is slow and not really desirable in this context.