Remove obsolete kotlin.build.useIR flag

This commit is contained in:
Alexander Udalov
2021-05-21 12:33:15 +02:00
parent 15e978dbd3
commit 91e47f1fd7
4 changed files with 2 additions and 17 deletions
@@ -89,8 +89,6 @@ class KotlinBuildProperties(
val localBootstrapPath: String? = getOrNull("bootstrap.local.path") as String? val localBootstrapPath: String? = getOrNull("bootstrap.local.path") as String?
val useIR: Boolean = getBoolean("kotlin.build.useIR")
val useIRForLibraries: Boolean = getBoolean("kotlin.build.useIRForLibraries") val useIRForLibraries: Boolean = getBoolean("kotlin.build.useIRForLibraries")
val useFir: Boolean = getBoolean("kotlin.build.useFir") val useFir: Boolean = getBoolean("kotlin.build.useFir")
+1 -3
View File
@@ -9,9 +9,7 @@ defaultSnapshotVersion=1.5.255-SNAPSHOT
kotlin.compiler.effectSystemEnabled=true kotlin.compiler.effectSystemEnabled=true
kotlin.compiler.newInferenceEnabled=true kotlin.compiler.newInferenceEnabled=true
# Enable JVM IR backend for all modules except libraries such as kotlin-stdlib, kotlin-reflect, kotlin-test. # Enable JVM IR backend for kotlin-stdlib, kotlin-reflect, kotlin-test.
kotlin.build.useIR=true
# Enable JVM IR backend for the libraries mentioned above.
kotlin.build.useIRForLibraries=true kotlin.build.useIRForLibraries=true
#maven.repository.mirror=http://repository.jetbrains.com/remote-repos/ #maven.repository.mirror=http://repository.jetbrains.com/remote-repos/
-9
View File
@@ -120,15 +120,6 @@ allprojects {
} }
} }
if (findProperty("kotlin.build.useIR") == "true") {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
useIR = true
freeCompilerArgs += ["-Xir-binary-with-stable-abi"]
}
}
}
setupHostAndTarget() setupHostAndTarget()
loadCommandLineProperties() loadCommandLineProperties()
loadLocalProperties() loadLocalProperties()
+1 -3
View File
@@ -34,6 +34,4 @@ ktorVersion=1.2.1
shadowVersion=5.1.0 shadowVersion=5.1.0
metadataVersion=0.0.1-dev-10 metadataVersion=0.0.1-dev-10
# Uncomment to compile Kotlin/Native backend modules with JVM IR backend. kotlinNativeVersionInResources=true
# kotlin.build.useIR=true
kotlinNativeVersionInResources=true