sergey.bogolepov
03/04/2021, 7:11 AMmacosX64
and iosX64
targets. Long story short, compiler caches make compilation time of debug builds (e.g. linkDebug...
) in Gradle significantly faster (well, except the first one, when dependencies are caching and Gradle daemon is warming up).
In 1.5.0-M1 we add opt-in support for compiler caches for two more targets:
• iosArm64
• linuxX64
(only on Linux host)
To enable them add a single line to your gradle.properties
.
For linuxX64
target:
kotlin.native.cacheKind.linuxX64=static
For iosArm64
target:
kotlin.native.cacheKind.iosArm64=static
"Why not enable it by default?" you might ask. While it doesn't break our test projects, it might break yours.
And who likes broken compilation after compiler update? :)
So, we asking you to test compiler caches on your projects and report to us if you encounter any kind of problems. Let's make Kotlin faster together!napperley
03/04/2021, 10:15 PMsergey.bogolepov
03/05/2021, 4:42 AMsergey.bogolepov
03/05/2021, 4:43 AMBig Chungus
11/21/2023, 2:07 AMkotlin.native.cacheKind=none
disables cinterop caching too?svyatoslav.scherbina
11/21/2023, 9:17 AM