Skip to content

toolchain: add SPC_DEFAULT_RANLIB and pin cmake AR/RANLIB#1163

Open
henderkes wants to merge 2 commits into
v3from
v3c/toolchain-default-ranlib
Open

toolchain: add SPC_DEFAULT_RANLIB and pin cmake AR/RANLIB#1163
henderkes wants to merge 2 commits into
v3from
v3c/toolchain-default-ranlib

Conversation

@henderkes
Copy link
Copy Markdown
Collaborator

No description provided.

ClangBrew, ClangNative and GccNative now export SPC_DEFAULT_RANLIB
alongside SPC_DEFAULT_AR. UnixCMakeExecutor honours both when
generating the Linux toolchain file, so cmake uses the toolchain's
ar/ranlib (e.g. zig-ar/zig-ranlib for archives that the system
ranlib does not understand) instead of /usr/bin/ranlib.
@henderkes henderkes requested a review from crazywhalecc May 24, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant