Commit Graph
4 Commits
Author SHA1 Message Date
Cameron Armstrong (Nightfox)andClaude Opus 5.5 b48717e6d0 Amiga: only take the bundle version from an exact release tag
json-c tags releases on json-c-0.NN branches that are never merged back
to master, so `git describe --tags` from master finds the last release
tagged on master itself (0.17) and the readme claimed that version.
Use the tag only when HEAD is exactly on it, otherwise use the
JSON_C_VERSION from json_c_version.h plus the short commit hash.

Also terminate the sed `p` command with `;` before `}` so the version
extraction works with BSD/macOS sed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:34:00 -05:00
Cameron Armstrong (Nightfox)andClaude Opus 5.5 217808a23d Amiga: build libm881 (FPU) slots for AmigaOS 3
-m68881, -mhard-float and -m68040/-m68060 link from libm020/libm881. With no
json-c there, the linker fell back to the soft-float libm020 build, which
clib2 cannot link: its FPU libm has no soft-float helpers. Add the
libm020/libm881, libb/libm020/libm881 and libb32/libm020/libm881 slots for
newlib, libnix and clib2 (M68K_FPU=hard, from the image's cmake toolchain
file), taking AmigaOS 3 from 15 to 24 libraries.

Allow AMIGA_IMAGE_<OS> to override the compiler image, so the libraries
can be built against a local image before it is published.

Update the link tables. All 8 slots link for every runtime once the
compiler image has the AmigaSDK-gcc cleanup that removed stale toolchain
files. The old clib2 strtoll and newlib gettimeofday gaps came from those
files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:34:00 -05:00
Eric Hawicz 25895a587e Instead of hardcoding the version into amiga/json-c.readme, generate it on the fly from either a release tag or a development version + commit hash. 2026-09-20 16:06:05 -04:00
Cameron Armstrong (Nightfox)andCursor 083d244d9a Address review feedback on the Amiga packaging PR.
Keep Amiga-specific files under amiga/, cache the pinned LHa binary in
CI, and make it explicit that the workflow artifact is not an official
release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 23:28:43 +08:00