[K/N] Fix test split_compilation_pipeline
^KT-59245
This commit is contained in:
committed by
Space Team
parent
32a390ea18
commit
e240d7aae3
@@ -67,7 +67,8 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
|||||||
messageCollector.report(ERROR, "You have not specified any compilation arguments. No output has been produced.")
|
messageCollector.report(ERROR, "You have not specified any compilation arguments. No output has been produced.")
|
||||||
}
|
}
|
||||||
if (configuration.get(KonanConfigKeys.PRODUCE) != CompilerOutputKind.LIBRARY &&
|
if (configuration.get(KonanConfigKeys.PRODUCE) != CompilerOutputKind.LIBRARY &&
|
||||||
configuration.kotlinSourceRoots.isNotEmpty()) {
|
configuration.kotlinSourceRoots.isNotEmpty() &&
|
||||||
|
arguments.compileFromBitcode == null) {
|
||||||
// K2/Native backend cannot produce binary directly from FIR frontend output, since descriptors, deserialized from KLib, are needed
|
// K2/Native backend cannot produce binary directly from FIR frontend output, since descriptors, deserialized from KLib, are needed
|
||||||
// So, such compilation is split to two stages:
|
// So, such compilation is split to two stages:
|
||||||
// - source files are compiled to intermediate KLib by FIR frontend
|
// - source files are compiled to intermediate KLib by FIR frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user