Skip to content

Commit ccc1789

Browse files
[CI] Set POSTCOMMIT_CI variable in pods
This ensures that we will be printing the correct output type after llvm/llvm-project#152197 lands. Pull Request: llvm#541
1 parent 1e2eb6c commit ccc1789

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zorg/buildbot/builders/annotated/premerge/dispatch_job.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def start_build_linux(commit_sha: str, k8s_client) -> str:
6262
f"git checkout ${commit_sha}",
6363
"export CC=clang",
6464
"export CXX=clang++",
65+
"expot POSTCOMMIT_CI=1",
6566
'./.ci/monolithic-linux.sh "bolt;clang;clang-tools-extra;flang;libclc;lld;lldb;llvm;mlir;polly" "check-bolt check-clang check-clang-cir check-clang-tools check-flang check-lld check-lldb check-llvm check-mlir check-polly" "compiler-rt;libc;libcxx;libcxxabi;libunwind" "check-compiler-rt check-libc" "check-cxx check-cxxabi check-unwind" "OFF"'
6667
"echo BUILD FINISHED",
6768
]
@@ -80,6 +81,7 @@ def start_build_windows(commit_sha: str, k8s_client):
8081
"git clone --depth 100 https://github.com/llvm/llvm-project",
8182
"cd llvm-project",
8283
f"git checkout ${commit_sha}",
84+
"export POSTCOMMIT_CI=1",
8385
'.ci/monolithic-windows.sh "clang;clang-tools-extra;libclc;lld;llvm;mlir;polly" "check-clang check-clang-cir check-clang-tools check-lld check-llvm check-mlir check-polly"',
8486
"echo BUILD FINISHED",
8587
]

0 commit comments

Comments
 (0)