We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
os.arch
1 parent e527b1e commit 9293c61Copy full SHA for 9293c61
1 file changed
libraries/stdlib/build.gradle.kts
@@ -127,6 +127,11 @@ kotlin {
127
128
val main by getting {
129
compileTaskProvider.configure {
130
+ // use os.arch as an input property of the compilation task
131
+ // to avoid resuing compilation results from the build cache
132
+ // produced on the other CPU architecture due to KT-53258
133
+ inputs.property("os.arch", providers.systemProperty("os.arch"))
134
+
135
this as UsesKotlinJavaToolchain
136
kotlinJavaToolchain.toolchain.use(getToolchainLauncherFor(JdkMajorVersion.JDK_11_0))
137
compilerOptions {
0 commit comments