Skip to content

Commit 8034154

Browse files
committed
Do not build GCC in fast try builds
1 parent 25dee4e commit 8034154

File tree

1 file changed

+4
-1
lines changed
  • src/ci/docker/host-x86_64/dist-x86_64-linux

1 file changed

+4
-1
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/dist.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ python3 ../x.py build --set rust.debug=true opt-dist
1010
build-manifest bootstrap
1111

1212
# Use GCC for building GCC, as it seems to behave badly when built with Clang
13-
CC=/rustroot/bin/cc CXX=/rustroot/bin/c++ python3 ../x.py dist gcc
13+
# Only build GCC on full builds, not try builds
14+
if [ "${DIST_TRY_BUILD:-0}" == "0" ]; then
15+
CC=/rustroot/bin/cc CXX=/rustroot/bin/c++ python3 ../x.py dist gcc
16+
fi

0 commit comments

Comments
 (0)