[Native] Don't use KLIB repositories in K/N build infra

Don't pass KLIB repositories via '-repo' or '-r' compiler parameters.

^KT-61098
This commit is contained in:
Dmitriy Dolovov
2023-11-02 13:22:36 +01:00
committed by Space Team
parent 4f1f06c24f
commit c13c917a8a
4 changed files with 1 additions and 25 deletions
@@ -25,6 +25,5 @@ swiftBenchmark {
tasks.named<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>("compileKotlinNative") {
dependsOn(gradle.includedBuild("benchmarksAnalyzer").task(":cinteropLibcurlMacos"))
kotlinOptions.freeCompilerArgs = listOf("-repo", project.file("$toolsPath/benchmarksAnalyzer/build/classes/kotlin/macos/main").absolutePath,
"-l", "benchmarksAnalyzer-cinterop-libcurl")
kotlinOptions.freeCompilerArgs = listOf("-l", project.file("$toolsPath/benchmarksAnalyzer/build/classes/kotlin/macos/main/benchmarksAnalyzer-cinterop-libcurl").absolutePath)
}