[K/N][IR][codegen][caches] Speed-up of per-file caches

This commit is contained in:
Igor Chevdar
2022-07-01 08:30:24 +03:00
committed by Space
parent aba8d8a859
commit 77f24a22dd
22 changed files with 339 additions and 148 deletions
@@ -219,11 +219,14 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
description = "Path to file to cache",
delimiter = ""
)
var fileToCache: String? = null
var filesToCache: Array<String>? = null
@Argument(value = "-Xmake-per-file-cache", description = "Force compiler to produce per-file cache")
var makePerFileCache: Boolean = false
@Argument(value = "-Xbatched-per-file-cache-build", valueDescription = "{disable|enable}", description = "Build per-file cache in one batch")
var batchedPerFileCacheBuild: String? = null
@Argument(value = "-Xexport-kdoc", description = "Export KDoc in framework header")
var exportKDoc: Boolean = false