[Tarantool-patches] [PATCH luajit] ci: unused gcc removed from macOS setup
Evgeniy Temirgaleev
e.temirgaleev at tarantool.org
Sat Aug 8 02:00:49 MSK 2026
From: Temir Galeev <temir.galeev at bk.ru>
The brew gcc installation is useless, because cmake use
the clang compiler which is already present in the system.
Also, the clang is better than gcc for macOS.
Branch: https://github.com/tarantool/luajit/tree/tmr_g/lj-noticket-ci-build-mac
---
.github/actions/setup-macos/action.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/actions/setup-macos/action.yml b/.github/actions/setup-macos/action.yml
index 91632648..9e752a70 100644
--- a/.github/actions/setup-macos/action.yml
+++ b/.github/actions/setup-macos/action.yml
@@ -32,6 +32,9 @@ runs:
# Try to install the packages either upgrade it to avoid
# of fails if the package already exists with the previous
# version.
- brew install --force cmake gcc make ninja perl ||
- brew upgrade cmake gcc make ninja perl
+ # We skip gcc installation because the 'builtin' clang compiler
+ # is already present in the system. It is used by cmake
+ # by default even if gcc is installed.
+ brew install --force cmake make ninja perl ||
+ brew upgrade cmake make ninja perl
shell: bash
--
2.49.0
More information about the Tarantool-patches
mailing list