Skip to content

Commit 2fc2ee4

Browse files
tmr-gBuristan
authored andcommitted
ci: unused gcc removed from macOS setup
The brew gcc installation is useless, because cmake uses the clang compiler, which is already present in the system. Also, the clang is better than gcc for macOS. Reviewed-by: Sergey Kaplun <skaplun@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 7c9cf00)
1 parent 96e0f35 commit 2fc2ee4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/actions/setup-macos/action.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ runs:
3232
# Try to install the packages either upgrade it to avoid
3333
# of fails if the package already exists with the previous
3434
# version.
35-
brew install --force cmake gcc make ninja perl ||
36-
brew upgrade cmake gcc make ninja perl
35+
# Skip GCC installation because the 'builtin' Clang compiler
36+
# is already present in the system. It is used by CMake
37+
# by default even if GCC is installed.
38+
brew install --force cmake make ninja perl ||
39+
brew upgrade cmake make ninja perl
3740
shell: bash

0 commit comments

Comments
 (0)