fix: revert macosArm64 target (blocked by negentropy-kmp), add K/N toolchain to session hook
macosArm64 target cannot be enabled until negentropy-kmp publishes a macosArm64 artifact — commented out with explanation. Reverted run_all.sh back to Linux-only for K/Native benchmark. Added Kotlin/Native toolchain dependencies (GCC sysroot, LLDB, LLVM, libffi) to session-start.sh so K/N compilation works in Claude Code remote environments where Gradle's own downloader fails through the proxy. https://claude.ai/code/session_01WSNE6QKiYM2ZutQD2UihCW
This commit is contained in:
@@ -82,26 +82,25 @@ fi
|
||||
echo ""
|
||||
|
||||
# ============================================================================
|
||||
# 2. Kotlin/Native benchmark (Linux and macOS)
|
||||
# 2. Kotlin/Native benchmark
|
||||
# ============================================================================
|
||||
echo "=== Running Kotlin/Native benchmark ==="
|
||||
case "$OS_NAME" in
|
||||
Linux)
|
||||
KN_TARGET="linuxX64Test"
|
||||
;;
|
||||
Darwin)
|
||||
KN_TARGET="macosArm64Test"
|
||||
;;
|
||||
esac
|
||||
# macosArm64 target is blocked until negentropy-kmp publishes a macosArm64
|
||||
# artifact. Once unblocked, add: Darwin) KN_TARGET="macosArm64Test" ;;
|
||||
if [ "$OS_NAME" = "Linux" ]; then
|
||||
echo "=== Running Kotlin/Native benchmark ==="
|
||||
KN_TARGET="linuxX64Test"
|
||||
|
||||
"$ROOT/gradlew" -p "$ROOT" ":quartz:$KN_TARGET" --tests "*.Secp256k1NativeBenchmark" \
|
||||
2>/dev/null || true
|
||||
"$ROOT/gradlew" -p "$ROOT" ":quartz:$KN_TARGET" --tests "*.Secp256k1NativeBenchmark" \
|
||||
2>/dev/null || true
|
||||
|
||||
KN_XML="$ROOT/quartz/build/test-results/$KN_TARGET/TEST-${KN_TARGET}.com.vitorpamplona.quartz.utils.secp256k1.Secp256k1NativeBenchmark.xml"
|
||||
if [ -f "$KN_XML" ]; then
|
||||
sed -n '/<!\[CDATA\[/,/\]\]>/p' "$KN_XML" | grep -v 'CDATA\|]]>'
|
||||
KN_XML="$ROOT/quartz/build/test-results/$KN_TARGET/TEST-${KN_TARGET}.com.vitorpamplona.quartz.utils.secp256k1.Secp256k1NativeBenchmark.xml"
|
||||
if [ -f "$KN_XML" ]; then
|
||||
sed -n '/<!\[CDATA\[/,/\]\]>/p' "$KN_XML" | grep -v 'CDATA\|]]>'
|
||||
else
|
||||
echo "K/Native benchmark XML not found."
|
||||
fi
|
||||
else
|
||||
echo "K/Native benchmark XML not found."
|
||||
echo "=== Skipping Kotlin/Native benchmark (only linuxX64 target available) ==="
|
||||
fi
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user