9b646ddae3af

drop Intel macOS from GC-enabled Koh release targets (3.7.3)

time
2026-10-06 01:59 UTC · 1 week ago
machine
Junes-MacBook-Pro.local
agent
gpt-6
session
drop Intel macOS support
parent
32159c5a3fbf
5 files README.md+4 −1VERSION+1 −1build.sh+5 −10koh.build+1 −1v.mod+1 −1
README.md+4 −1
@@ -86,7 +86,10 @@8686 8787 ## Status8888 89-Koh 3 is released for macOS and Linux on Intel and ARM64:89+Koh supports Apple silicon macOS and Linux on x86_64 and ARM64.90+Intel macOS is no longer supported for new releases.91+92+Install Koh with:9093 9194 ```sh9295 curl -fsSL https://koh.asha.software/install.sh | sh

view file

VERSION+1 −1
@@ -1 +1 @@1-3.7.21+3.7.3

view file

build.sh+5 −10
@@ -41,22 +41,17 @@4141 native=$(host_target)4242 target=${KOH_TARGET:-$native}4343 case "$target" in44-  macos-aarch64|macos-x86_64|linux-aarch64|linux-x86_64) ;;45-  *) die "unsupported release target: $target (want macos-aarch64, macos-x86_64, linux-x86_64 or linux-aarch64)" ;;44+  macos-aarch64|linux-aarch64|linux-x86_64) ;;45+  *) die "unsupported release target: $target (want macos-aarch64, linux-x86_64 or linux-aarch64)" ;;4646 esac4747 [ "$target" = "$native" ] || die "$target requires a native $target host or VM to retain garbage collection (this host is $native)"4848 out="build/releases/koh-$target"4949 mkdir -p build/releases5050 5151 case "$target" in52-  macos-aarch64|macos-x86_64)53-    [ "$(uname -s)" = Darwin ] || die "$target needs the Apple SDK; build it on macOS"54-    case "$target" in55-      macos-aarch64) arch=arm64; cpu=arm64 ;;56-      *) arch=x64; cpu=x86_64 ;;57-    esac58-    v -prod -gc boehm -d use_bundled_libgc -arch "$arch" \59-      -cflags "-arch $cpu -mmacosx-version-min=11.0" -o "$out" src/koh.v52+  macos-aarch64)53+    v -prod -gc boehm -d use_bundled_libgc -arch arm64 \54+      -cflags '-arch arm64 -mmacosx-version-min=11.0' -o "$out" src/koh.v6055     # Apple Silicon refuses to run an unsigned binary.6156     codesign -f -s - "$out"6257     ;;

view file

koh.build+1 −1
@@ -1,4 +1,4 @@11 command = sh build.sh22 output = build/releases/koh-{platform}3-platforms = macos-aarch64, macos-x86_64, linux-x86_64, linux-aarch643+platforms = macos-aarch64, linux-x86_64, linux-aarch6444 lang = shell

view file

v.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 	name: 'koh3'3-	version: '3.7.2'3+	version: '3.7.3'44 	description: 'One SQLite file per repo, one line of history.'55 	license: 'MIT'66 }

view file