-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
WIP: Shared library build #33608
WIP: Shared library build #33608
Conversation
ab24c7b
to
e664c3f
Compare
@@ -220,6 +223,8 @@ public sealed override bool TryGetModuleTokenForExternalType(TypeDesc type, out | |||
|
|||
public sealed override bool IsCompositeBuildMode => _isCompositeBuildMode; | |||
|
|||
public sealed override bool IsLibraryBuildMode => _isLibraryBuildMode; |
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.
Is the IsLibraryBuildMode
flag used for anything? I am not able to find it.
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.
Hmm, the idea was that the library build mode can be used e.g. to tune rooting heuristics. You're right it's not wired up this way in this iteration; I can easily revert it if you don't think it's of any use.
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.
OK, for now I'm going to remove this as speculative code is generally not desirable and the current compilation logic doesn't actually need this.
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 can be easily added once it is actually needed. I do not think we should be adding this without the actual use.
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.
Removed in 4th commit.
d4cb9af
to
a8a1934
Compare
7b0e950
to
291aae8
Compare
18c3325
to
9db7fc0
Compare
This change adds SuperIlc support for the option --framework in --composite mode by first compiling the entire set of framework assemblies into one composite version bubble and then building the test on top of it as another composite version bubble. One practical upside of this mode is that it's naturally much faster than the "one-component" composite mode as that basically requires compiling the framework with each app. Thanks Tomas
This change adds SuperIlc support for the option --framework in --composite mode by first compiling the entire set of framework assemblies into one composite version bubble and then building the test on top of it as another composite version bubble. One practical upside of this mode is that it's naturally much faster than the "one-component" composite mode as that basically requires compiling the framework with each app. Thanks Tomas
9db7fc0
to
3b578f4
Compare
This change adds SuperIlc support for the option --framework
in --composite mode by first compiling the entire set of framework
assemblies into one composite version bubble and then building the
test on top of it as another composite version bubble. One practical
upside of this mode is that it's naturally much faster than the
"one-component" composite mode as that basically requires compiling
the framework with each app.
Thanks
Tomas