fix: drop deprecated macosX64 target, keep only macosArm64
macosX64 (Intel) has been removed from Kotlin's native target tiers. Only macosArm64 (Apple Silicon) is supported. https://claude.ai/code/session_01WSNE6QKiYM2ZutQD2UihCW
This commit is contained in:
@@ -90,10 +90,7 @@ case "$OS_NAME" in
|
|||||||
KN_TARGET="linuxX64Test"
|
KN_TARGET="linuxX64Test"
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
case "$ARCH" in
|
KN_TARGET="macosArm64Test"
|
||||||
arm64) KN_TARGET="macosArm64Test" ;;
|
|
||||||
*) KN_TARGET="macosX64Test" ;;
|
|
||||||
esac
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,6 @@ kotlin {
|
|||||||
|
|
||||||
linuxX64()
|
linuxX64()
|
||||||
|
|
||||||
macosX64()
|
|
||||||
macosArm64()
|
macosArm64()
|
||||||
|
|
||||||
// This makes sure that the resource file directory is visible for iOS tests.
|
// This makes sure that the resource file directory is visible for iOS tests.
|
||||||
@@ -310,14 +309,6 @@ kotlin {
|
|||||||
dependsOn(appleTest)
|
dependsOn(appleTest)
|
||||||
}
|
}
|
||||||
|
|
||||||
val macosX64Main by getting {
|
|
||||||
dependsOn(macosMain)
|
|
||||||
}
|
|
||||||
|
|
||||||
val macosX64Test by getting {
|
|
||||||
dependsOn(macosTest)
|
|
||||||
}
|
|
||||||
|
|
||||||
val macosArm64Main by getting {
|
val macosArm64Main by getting {
|
||||||
dependsOn(macosMain)
|
dependsOn(macosMain)
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -46,7 +46,6 @@ import kotlin.time.TimeSource
|
|||||||
* Run with:
|
* Run with:
|
||||||
* ./gradlew :quartz:linuxX64Test --tests "*.Secp256k1NativeBenchmark"
|
* ./gradlew :quartz:linuxX64Test --tests "*.Secp256k1NativeBenchmark"
|
||||||
* ./gradlew :quartz:macosArm64Test --tests "*.Secp256k1NativeBenchmark"
|
* ./gradlew :quartz:macosArm64Test --tests "*.Secp256k1NativeBenchmark"
|
||||||
* ./gradlew :quartz:macosX64Test --tests "*.Secp256k1NativeBenchmark"
|
|
||||||
*
|
*
|
||||||
* IMPORTANT: Requires -opt in the compiler options for meaningful results.
|
* IMPORTANT: Requires -opt in the compiler options for meaningful results.
|
||||||
* Without it, K/N compiles in debug mode (~12x slower). See build.gradle.kts.
|
* Without it, K/N compiles in debug mode (~12x slower). See build.gradle.kts.
|
||||||
|
|||||||
Reference in New Issue
Block a user