feat: upgrade negentropy-kmp to v1.0.2, enable macosArm64 target

negentropy-kmp v1.0.2 now publishes a macosArm64 artifact, unblocking
the macOS native target. Wired macosMain/macosTest source sets through
appleMain/appleTest and updated run_all.sh to run the K/Native
benchmark on both Linux (linuxX64) and macOS (macosArm64).

https://claude.ai/code/session_01WSNE6QKiYM2ZutQD2UihCW
This commit is contained in:
Claude
2026-04-11 00:42:18 +00:00
parent 731e32eb61
commit fa0da7fae3
3 changed files with 31 additions and 19 deletions
+18 -3
View File
@@ -87,7 +87,7 @@ kotlin {
linuxX64()
// macosArm64() — blocked until negentropy-kmp publishes a macosArm64 artifact
macosArm64()
// This makes sure that the resource file directory is visible for iOS tests.
val rootDir = "${rootProject.rootDir.path}/quartz/src/commonTest/resources"
@@ -299,8 +299,23 @@ kotlin {
dependsOn(iosTest.get())
}
// macosMain/macosTest source sets exist but are not wired until
// negentropy-kmp publishes a macosArm64 artifact.
val macosMain =
create("macosMain") {
dependsOn(appleMain)
}
val macosTest =
create("macosTest") {
dependsOn(appleTest)
}
val macosArm64Main by getting {
dependsOn(macosMain)
}
val macosArm64Test by getting {
dependsOn(macosTest)
}
val linuxMain =
create("linuxMain") {