[BTA] Add debug logging about the used compilation strategy
^KT-61860 In Progress
This commit is contained in:
committed by
Space Team
parent
dda6b92c13
commit
0196928af7
+2
@@ -123,6 +123,7 @@ internal object CompilationServiceImpl : CompilationService {
|
|||||||
sources: List<File>,
|
sources: List<File>,
|
||||||
arguments: List<String>,
|
arguments: List<String>,
|
||||||
): CompilationResult {
|
): CompilationResult {
|
||||||
|
loggerAdapter.kotlinLogger.debug("Compiling using the in-process strategy")
|
||||||
val compiler = K2JVMCompiler()
|
val compiler = K2JVMCompiler()
|
||||||
val parsedArguments = compiler.createArguments()
|
val parsedArguments = compiler.createArguments()
|
||||||
parseCommandLineArguments(arguments, parsedArguments)
|
parseCommandLineArguments(arguments, parsedArguments)
|
||||||
@@ -182,6 +183,7 @@ internal object CompilationServiceImpl : CompilationService {
|
|||||||
sources: List<File>,
|
sources: List<File>,
|
||||||
arguments: List<String>,
|
arguments: List<String>,
|
||||||
): CompilationResult {
|
): CompilationResult {
|
||||||
|
loggerAdapter.kotlinLogger.debug("Compiling using the daemon strategy")
|
||||||
val compilerId = CompilerId.makeCompilerId(getCurrentClasspath())
|
val compilerId = CompilerId.makeCompilerId(getCurrentClasspath())
|
||||||
val sessionIsAliveFlagFile = buildIdToSessionFlagFile.computeIfAbsent(projectId) {
|
val sessionIsAliveFlagFile = buildIdToSessionFlagFile.computeIfAbsent(projectId) {
|
||||||
createSessionIsAliveFlagFile()
|
createSessionIsAliveFlagFile()
|
||||||
|
|||||||
Reference in New Issue
Block a user