Skip to content

Commit a7593b4

Browse files
committed
Reduce system resource usage for flang-runtime-cuda-* builders on as-builder-7 worker.
The latest changes for 'flang' and 'flang-rt' projects cause the build host overload and freeze the system for a long time. Reduce resource usage for the build to avoid it. Note: restore the changes after the problem will get solved.
1 parent 5e631bc commit a7593b4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3283,6 +3283,7 @@
32833283
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
32843284
util.Interpolate("-DFLANG_RT_LIBCUDACXX_PATH=%(prop:nv_cccl_root_path)s/libcudacxx"),
32853285
],
3286+
jobs=64,
32863287
env={
32873288
'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"),
32883289
# TMP/TEMP within the build dir (to utilize a ramdisk).
@@ -3328,6 +3329,7 @@
33283329
src_to_build_dir = "runtimes",
33293330
),
33303331
],
3332+
jobs=64,
33313333
env = {
33323334
# TMP/TEMP within the build dir (to utilize a ramdisk).
33333335
'TMP' : util.Interpolate("%(prop:builddir)s/%(prop:objrootdir)s"),

buildbot/osuosl/master/config/workers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def get_all():
243243
'jobs': 128,
244244
'nv_cccl_root_path' : '/home/buildbot/worker/third-party/nv/cccl',
245245
},
246-
max_builds=2),
246+
max_builds=1),
247247
# Windows Server on Intel Xeon 6330 CPU 2Sx64Cx128LP @ 2.0GHz, 256GB RAM
248248
create_worker("as-builder-8", properties={'jobs': 128}, max_builds=1),
249249

0 commit comments

Comments
 (0)