Skip to content

Make Booth consumable from CMake - #156

Merged
Zaneham merged 4 commits into
masterfrom
feat/cmake-package
Aug 6, 2026
Merged

Make Booth consumable from CMake#156
Zaneham merged 4 commits into
masterfrom
feat/cmake-package

Conversation

@Zaneham

@Zaneham Zaneham commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Booth had no install target, so a CMake project had no way to find it. This adds make install and a package config, so downstream can find_package(Booth) and build kernels with booth_add_kernel().

Doing that turned up --amdgpu ignoring -o and writing assembly to stdout with the register-plan line mixed into it, which is fixed here too (no -o still means stdout, so nothing that pipes it breaks). There's a CI job building an example consumer against a staged install, and another checking the target list in the package config hasn't drifted from the flags main.c accepts.

@Zaneham
Zaneham force-pushed the feat/cmake-package branch from 05b4562 to 145e487 Compare August 6, 2026 02:37
@Zaneham Zaneham added enhancement New feature or request Cmake Cmake compatibility labels Aug 6, 2026
@Zaneham
Zaneham merged commit 9ca29e5 into master Aug 6, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cmake Cmake compatibility enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant