Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO SOURCE for native targets, using Kotlin 2.1 (dev builds) #259

Open
sellmair opened this issue Sep 11, 2024 · 1 comment
Open

NO SOURCE for native targets, using Kotlin 2.1 (dev builds) #259

sellmair opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sellmair
Copy link
Member

sellmair commented Sep 11, 2024

Using recent Kotlin 2.1 builds (e.g. 2.1.0-dev-6359)

plugins {
    kotlin("multiplatform")
    id("org.jetbrains.kotlinx.benchmark")
}

kotlin {
    jvm()
    macosArm64()

    sourceSets.commonMain.dependencies {
        implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime:0.4.11")
    }
}

benchmark {
    targets {
        register("jvm")
        register("macosArm64")
    }
}

Then executing macosArm64Benchmark is skipped because of ' NO-SOURCE

Reproducer Project:

https://github.com/sellmair/kotlin-multiplatform-projects/tree/KT-70695/Float-Double.isFinite-can-be-optimized-kotlinx-report

@fzhinkin fzhinkin added the bug Something isn't working label Sep 11, 2024
@fzhinkin
Copy link
Contributor

It seems like the problem is already fixed in master, but a build from master won't work for now due to https://youtrack.jetbrains.com/issue/KT-71414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants