We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2f6712 commit d62db57Copy full SHA for d62db57
.cirrus.yml
@@ -139,6 +139,7 @@ task:
139
- env: {BUILD: distcheck}
140
brew_script:
141
- brew install automake libtool gcc
142
+ - ln -s /opt/homebrew/bin/gcc-?? /opt/homebrew/bin/gcc
143
test_script:
144
- ./ci/cirrus.sh
145
<< : *CAT_LOGS
ci/cirrus.sh
@@ -43,6 +43,13 @@ esac
43
44
env >> test_env.log
45
46
+# If gcc is requested, assert that it's in fact gcc (and not some symlinked Apple clang).
47
+case "${CC:-undefined}" in
48
+ *gcc*)
49
+ $CC -v 2>&1 | grep -q "gcc version" || exit 1;
50
+ ;;
51
+esac
52
+
53
if [ -n "${CC+x}" ]; then
54
# The MSVC compiler "cl" doesn't understand "-v"
55
$CC -v || true
0 commit comments