about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-11-02 14:14:34 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-11-02 21:03:28 +0100
commit30a07094a6ebdc03e23db2a33b2e24f25da55869 (patch)
treed5767e53c5c3ed8160e015ae020f1adb5cde2e0e /src/ci/docker
parent2dbe7d8d5b8408f3db2a747a4a33df80729383d2 (diff)
downloadrust-30a07094a6ebdc03e23db2a33b2e24f25da55869.tar.gz
rust-30a07094a6ebdc03e23db2a33b2e24f25da55869.zip
Add comment explaining why the ENABLE_GCC_CODEGEN env variable is needed
Diffstat (limited to 'src/ci/docker')
-rwxr-xr-xsrc/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh b/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh
index b964f19fe0b..2eb751ca376 100755
--- a/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh
+++ b/src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh
@@ -4,6 +4,8 @@ set -ex
 
 # Only run the stage 1 tests on merges, not on PR CI jobs.
 if [[ -z "${PR_CI_JOB}" ]]; then
+    # When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
+    # tests as it will fail them.
     if [[ "${ENABLE_GCC_CODEGEN}" == "1" ]]; then
         ../x.py --stage 1 test --skip src/tools/tidy --skip tests/codegen
     else
@@ -23,6 +25,8 @@ if [[ -z "${PR_CI_JOB}" ]]; then
     ../x.py --stage 1 test tests/ui-fulldeps
 fi
 
+# When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
+# tests as it will fail them.
 # NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
 if [[ "${ENABLE_GCC_CODEGEN}" == "1" ]]; then
     ../x.py --stage 2 test --skip src/tools/tidy --skip tests/codegen