Build libiopmini into the IOP sysroot #8

Merged
techwritescode merged 2 commits from iopmini-lib into main 2026-10-12 15:18:54 +00:00

ps2build links every LLVM IOP module with -liopmini, and src/iopmini/iopmini.c was in the repo, but no step built it. The v0.3.0 release has no iop/mipsel-none-elf/lib/libiopmini.a, so IOP links fail on a clean install (ld.lld: error: unable to find library -liopmini, seen in the sdk-core CI).

New step 09-iopmini.sh builds it with the IOP flags and -mips-split-hi16; the sanity check now links against it. Tested the script locally against the new clang: it exports memset, memcpy, memmove and memcmp.

Needs a new release (v0.3.1) before the sdk-core and sdk-world LLVM CI can pass.

🤖 Generated with Claude Code

`ps2build` links every LLVM IOP module with `-liopmini`, and `src/iopmini/iopmini.c` was in the repo, but no step built it. The v0.3.0 release has no `iop/mipsel-none-elf/lib/libiopmini.a`, so IOP links fail on a clean install (`ld.lld: error: unable to find library -liopmini`, seen in the sdk-core CI). New step `09-iopmini.sh` builds it with the IOP flags and `-mips-split-hi16`; the sanity check now links against it. Tested the script locally against the new clang: it exports memset, memcpy, memmove and memcmp. Needs a new release (v0.3.1) before the sdk-core and sdk-world LLVM CI can pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Build libiopmini into the IOP sysroot
Some checks failed
Build / build-native-linux (push) Failing after 1m49s
Build / build-windows-cross (push) Has been skipped
cf98271a48
ps2build links every LLVM IOP module with -liopmini, but nothing built it, so
the released toolchain could not link IOP code.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Make the iopmini step and script executable
All checks were successful
Build / build-native-linux (push) Successful in 1m49s
Release / build-native-linux (push) Successful in 3m41s
Release / package-linux (push) Successful in 1m40s
Build / build-windows-cross (push) Successful in 1m42s
Release / build-windows-cross (push) Successful in 1m44s
Release / package-windows (push) Successful in 1m20s
e0aca2bc95
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
techwritescode deleted branch iopmini-lib 2026-10-12 15:18:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ps2/llvm-toolchain!8
No description provided.