Skip to content
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

trimming: Avoid --strip-ir when compiling with --trim=no #57659

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

topolarity
Copy link
Member

@topolarity topolarity commented Mar 6, 2025

Both --trim=no and --trim=safe are supposed to be safe options by default, so let's not get overzealous and throw out all the IR even though we're not trimming

Allows juliac.jl to use/test the sysimage creation pipeline unrelated to --trim support, as in #57656 (comment)

@topolarity topolarity requested a review from JeffBezanson March 6, 2025 17:41
@topolarity topolarity added trimming Issues with trimming functionality or PR's relevant to its performance/functionality backport 1.12 Change should be backported to release-1.12 labels Mar 6, 2025
Both `--trim=no` and `--trim=safe` are supposed to be safe options by
default, so let's not get overzealous and throw out all the IR.
@topolarity topolarity force-pushed the ct/trim-no-nostrip branch from 1c7f5a3 to 69b0d47 Compare March 6, 2025 18:23
@topolarity topolarity merged commit f9e5af1 into JuliaLang:master Mar 7, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.12 Change should be backported to release-1.12 trimming Issues with trimming functionality or PR's relevant to its performance/functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants