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

C#+iOS: Cache AOT compiler output #51191

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

neikeq
Copy link
Contributor

@neikeq neikeq commented Aug 2, 2021

Implemented some basic caching to avoid unnecessary AOT compilation of unchanged assemblies that were already compiled previously. This reduces iOS export times considerably for subsequent builds since many dependencies never change, such as framework assemblies and the Godot bindings.

The AOT compiler asm output and object files are now placed in res://.mono/temp/obj/<CONFIG>/godot-aot-cache/ instead of a temporary directory.

Implemented some basic caching to avoid unnecessary AOT compilation
of unchanged assemblies that were already compiled previously.
This reduces iOS export times considerably for subsequent builds
since many dependencies never change, such as framework assemblies
and the Godot bindings.

The AOT compiler asm output and object files are now placed in
`res://.mono/temp/obj/<CONFIG>/godot-aot-cache/` instead of a
temporary directory.
@akien-mga akien-mga merged commit 7a7de3c into godotengine:3.x Aug 2, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga changed the title C#+iOS: Cache AOT compilater output C#+iOS: Cache AOT compiler output Aug 6, 2021
@neikeq neikeq deleted the mono-ios-aot-cache branch August 12, 2021 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants