Build and ship the LLVM package set (packages-llvm) #9

Merged
techwritescode merged 2 commits from llvm-build into master 2026-10-12 15:55:24 +00:00

The build and release workflows now build sdk-world a second time with --toolchain llvm into packages-llvm; the release zip contains packages/world, packages-llvm/world and the licenses. The jpeg package is copied into both sets.

Two source changes were needed for clang:

  • ioptrap/src/handler.S: rfe is written as .word 0x42000010.
  • libid3tag/src/compat.c, frametype.c: K&R definitions in the gperf output became prototypes (clang rejects them in C23).

Checked locally with ps2build v2026.10.12 against the LLVM sdk-core set: all 30 members build and install, and all 10 IRX files are type 0xFF80. audsrv, ogg and vorbis are in the GCC set but come from other repos and are not in the LLVM set yet.

Merge after ps2/sdk-core#16 is released, so the LLVM build has an LLVM sdk-core to link against.

🤖 Generated with Claude Code

The build and release workflows now build sdk-world a second time with `--toolchain llvm` into `packages-llvm`; the release zip contains `packages/world`, `packages-llvm/world` and the licenses. The jpeg package is copied into both sets. Two source changes were needed for clang: - `ioptrap/src/handler.S`: `rfe` is written as `.word 0x42000010`. - `libid3tag/src/compat.c`, `frametype.c`: K&R definitions in the gperf output became prototypes (clang rejects them in C23). Checked locally with ps2build v2026.10.12 against the LLVM sdk-core set: all 30 members build and install, and all 10 IRX files are type 0xFF80. `audsrv`, `ogg` and `vorbis` are in the GCC set but come from other repos and are not in the LLVM set yet. Merge after ps2/sdk-core#16 is released, so the LLVM build has an LLVM sdk-core to link against. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Build with the LLVM toolchain too, and ship the result as packages-llvm
Some checks failed
Build / build (push) Failing after 1m9s
Build / build (pull_request) Failing after 56s
a6c8534690
ioptrap: write rfe as its encoding, which clang does not assemble.
libid3tag: use prototypes in the gperf-generated lookups; clang rejects
K&R definitions in C23.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Re-run CI against sdk-core v2026.10.12
All checks were successful
Build / build (pull_request) Successful in 1m0s
Build / build (push) Successful in 58s
Release / release (push) Successful in 1m7s
f7adbd51b1
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
techwritescode deleted branch llvm-build 2026-10-12 15:55:24 +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/sdk-world!9
No description provided.