Adding possibility to skip params inheritance on daemon jvm options creation, refactoring appropriate api, using it to fix tests
Original commit: b71fec985f
This commit is contained in:
@@ -139,7 +139,7 @@ public object KotlinCompilerRunner {
|
||||
val libPath = CompilerRunnerUtil.getLibPath(environment.kotlinPaths, messageCollector)
|
||||
val compilerId = CompilerId.makeCompilerId(File(libPath, "kotlin-compiler.jar"))
|
||||
val daemonOptions = configureDaemonOptions()
|
||||
val daemonJVMOptions = configureDaemonJVMOptions(true)
|
||||
val daemonJVMOptions = configureDaemonJVMOptions(inheritMemoryLimits = true, inheritAdditionalProperties = true)
|
||||
// the property should be set by default for daemon builds to avoid parallel building problems
|
||||
// but it cannot be currently set by default globally, because it seems breaks many tests
|
||||
// TODO: find out how to get rid of the property and make it the default behavior
|
||||
|
||||
Reference in New Issue
Block a user