From 1384377fecbbeb064a8018e52e22758805848b25 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Mon, 20 Nov 2023 22:22:08 +0000 Subject: [PATCH] [K/N][perf] Fixup target toolchain path for swift compilation Fix swiftc path in the performance infrastructure. It has a separate plugin to regular native-build-tools. This fixes failures caused by the 3aeca1956e1a. See also MR-KT-12948 Merge-request: KT-MR-13130 Merged-by: Pavel Punegov --- .../src/main/kotlin/benchmark/SwiftBenchmarkingPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/SwiftBenchmarkingPlugin.kt b/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/SwiftBenchmarkingPlugin.kt index 707eaa2fe6c..08f324300d4 100644 --- a/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/SwiftBenchmarkingPlugin.kt +++ b/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/SwiftBenchmarkingPlugin.kt @@ -127,7 +127,7 @@ open class SwiftBenchmarkingPlugin : BenchmarkingPlugin() { val platform = project.platformManager.platform(target) assert(platform.configurables is AppleConfigurables) val configs = platform.configurables as AppleConfigurables - val compiler = configs.absoluteTargetToolchain + "/usr/bin/swiftc" + val compiler = configs.absoluteTargetToolchain + "/bin/swiftc" val swiftTarget = configs.targetTriple.withOSVersion(configs.osVersionMin).toString()