Skip to content

Infra: CI job running tests with Kotlin built from the main branch fails on compilation for apple-specific targets #320

@fzhinkin

Description

@fzhinkin

Compilation fails with:

  > Task :kotlinx-benchmark-runtime:compileKotlinIosArm64
16:39:15   e: file:///...runtime/nativeMain/src/kotlinx/benchmark/Utils.kt:5:8 [UNRESOLVED_IMPORT] Unresolved reference 'platform'.
16:39:15   e: file:///.../runtime/nativeMain/src/kotlinx/benchmark/Utils.kt:18:9 [UNRESOLVED_REFERENCE] Unresolved reference 'sprintf'.
16:39:15   e: file:///.../runtime/nativeMain/src/kotlinx/benchmark/Utils.kt:25:16 [UNRESOLVED_REFERENCE] Unresolved reference 'fopen'.
16:39:15   e: file:///.../runtime/nativeMain/src/kotlinx/benchmark/Utils.kt:27:13 [UNRESOLVED_REFERENCE] Unresolved reference 'fputs'.

These tests are executed on Linux host, cross-compilation is now on by default, and the Kotlin build we're using does not include cross-libs.

Cross compilation will be disabled for now, this ticket is needed to keep track of the issue and enable cross-compilation back once test Kotlin builds will include cross-libs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions