diff options
author | Jeff King <peff@peff.net> | 2024-05-09 12:24:15 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-21 12:33:08 -0700 |
commit | 93ec0a7cbfceefaa0a618181998100b2884e84c6 (patch) | |
tree | 80a41d7f804e60d4fff6471d60fbb6ffefcda6cb /commit.h | |
parent | b6b9fafacb2e420f8e38ddf808e410382fdec932 (diff) |
ci: avoid bare "gcc" for osx-gcc job
On macOS, a bare "gcc" (without a version) will invoke a wrapper for
clang, not actual gcc. Even when gcc is installed via homebrew, that
only provides version-specific links in /usr/local/bin (like "gcc-13"),
and never a version-agnostic "gcc" wrapper.
As far as I can tell, this has been the case for a long time, and this
osx-gcc job has largely been doing nothing. We can point it at "gcc-13",
which will pick up the homebrew-installed version.
The fix here is specific to the github workflow file, as the gitlab one
does not have a matching job.
It's a little unfortunate that we cannot just ask for the latest version
of gcc which homebrew provides, but as far as I can tell there is no
easy alias (you'd have to find the highest number gcc-* in
/usr/local/bin yourself).
[jc: cherry-picked from v2.45.0-2-g11c7001e3d]
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions