Kotlin / kotlinx.collections.immutable

Immutable persistent collections for Kotlin
Apache License 2.0
1.12k stars 56 forks source link

Running native benchmarks #88

Closed belyaev-mikhail closed 3 years ago

belyaev-mikhail commented 3 years ago

This is what I get when trying to run benchmarkNative from idea:

Execution failed for task ':benchmarks:nativeBenchmarkGenerate'.
> There was a failure while executing work items
   > A failure occurred while executing kotlinx.benchmark.gradle.NativeSourceGeneratorWorker
      > e: Failed to resolve Kotlin library: /home/belyaev/IdeaProjects/kotlinx.collections.immutable/benchmarks/build/classes/kotlin/native/main/benchmarks.klib

This is what I get when doing it from terminal:

./gradlew nativeBenchmark >native.out

FAILURE: Build failed with an exception.

* What went wrong:
Task 'nativeBenchmark' not found in root project 'Kotlin-Immutable-Collections'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 889ms

Am I missing something here?

belyaev-mikhail commented 3 years ago

Figured it out.