From af1f3a102be256c32c135276a1eed34281ad6c0e Mon Sep 17 00:00:00 2001 From: Sergey Bogolepov Date: Thu, 9 Mar 2023 18:50:33 +0200 Subject: [PATCH] [K/N] Disable split_compilation_pipeline for MinGW --- kotlin-native/backend.native/tests/build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index acfa879198f..485abb32931 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -5584,7 +5584,12 @@ standaloneTest("fake_override_0") { } standaloneTest("split_compilation_pipeline") { - enabled = !twoStageEnabled + // Test infrastructure does not support passing flags only to the second stage, + // and we can't pass -Xcompile-from-bitcode when producing library. Thus, this test + // does not support 2-stage compilation for now. + // Also, it is failing for some reason on Windows CI, but since MinGW targets are not inteneded + // to use this mode, we can disable it for these targets. + enabled = !twoStageEnabled && project.target.name != "mingw_x64" && project.target.name != "mingw_x86" def dir = buildDir.absolutePath source = "link/private_fake_overrides/override_main.kt" doBeforeBuild {