Skip to content

Commit 5f603de

Browse files
committed
Merge remote-tracking branch 'origin/main' into 2024q4-gha-use-local-testing-mode-for-checkconfig
2 parents 64ddf00 + 41d1078 commit 5f603de

File tree

5 files changed

+24
-5
lines changed

5 files changed

+24
-5
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,9 @@
16941694
'builddir': "sanitizer-windows",
16951695
'factory' : AnnotatedBuilder.getAnnotatedBuildFactory(
16961696
script="sanitizer-windows.py",
1697-
depends_on_projects=["llvm", "clang", "lld", "compiler-rt"])},
1697+
depends_on_projects=["llvm", "clang", "lld", "compiler-rt"],
1698+
# FIXME: Restore `timeout` to default when fixed https://github.com/llvm/llvm-project/issues/102513
1699+
timeout=2400)},
16981700

16991701
# OpenMP builders.
17001702

@@ -1948,7 +1950,7 @@
19481950
'factory' : OpenMPBuilder.getOpenMPCMakeBuildFactory(
19491951
clean=True,
19501952
enable_runtimes=['compiler-rt', 'openmp', 'offload'],
1951-
depends_on_projects=['llvm','clang','lld', 'offload', 'openmp','flang', 'compiler-rt'],
1953+
depends_on_projects=['llvm','clang','lld', 'offload', 'openmp', 'mlir', 'flang', 'compiler-rt'],
19521954
extraCmakeArgs=[
19531955
"-DCMAKE_BUILD_TYPE=Release",
19541956
"-DCLANG_DEFAULT_LINKER=lld",

zorg/buildbot/builders/ClangBuilder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ def _getClangCMakeBuildFactory(
278278
f = LLVMBuildFactory(
279279
depends_on_projects=depends_on_projects,
280280
llvm_srcdir='llvm',
281-
enable_runtimes=enable_runtimes)
281+
enable_runtimes=enable_runtimes,
282+
clean=clean)
282283

283284
# Checkout the latest code for LNT
284285
# and the test-suite separately. Le's do this first,

zorg/buildbot/process/buildrequest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ def collapseRequests(master, builder, req1, req2):
3131
str(req2['buildsetid'])
3232
)
3333

34+
# If the build is going to be a clean build anyway, we can collapse a clean
35+
# build and a non-clean build.
36+
if getattr(builder.config.factory, "clean", False):
37+
if 'clean_obj' in selfBuildsetPoperties:
38+
del selfBuildsetPoperties["clean_obj"]
39+
if 'clean_obj' in otherBuildsetPoperties:
40+
del otherBuildsetPoperties["clean_obj"]
41+
3442
# Check buildsets properties and do not collapse
3543
# if properties do not match. This includes the check
3644
# for different schedulers.

zorg/buildbot/process/factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def __init__(self, steps=None, depends_on_projects=None, hint=None, **kwargs):
4040
BuildFactory.__init__(self, steps)
4141

4242
self.hint = hint
43+
44+
self.clean = kwargs.pop('clean', False)
4345

4446
# Handle the dependencies.
4547
if depends_on_projects is None:

zorg/jenkins/jobs/jobs/lldb-cmake-matrix

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ pipeline {
211211
], extensions: [
212212
[$class: 'CloneOption', timeout: 30,
213213
timeout: 30]
214-
]])
214+
],
215+
changelog: false,
216+
poll: false
217+
])
215218
}
216219
}
217220
timeout(90) {
@@ -276,7 +279,10 @@ pipeline {
276279
], extensions: [
277280
[$class: 'CloneOption', timeout: 30,
278281
timeout: 30]
279-
]])
282+
],
283+
changelog: false,
284+
poll: false
285+
])
280286
}
281287
}
282288
timeout(90) {

0 commit comments

Comments
 (0)