Skip to content

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

Merged
henderkes merged 2 commits into
v3from
v3c/toolchain-default-ranlib
Jun 4, 2026
Merged

henderkes merged 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
@henderkes
henderkes merged commit 0e5738b into v3 Jun 4, 2026
8 checks passed
@henderkes
henderkes deleted the v3c/toolchain-default-ranlib branch June 4, 2026 02:25
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.

2 participants