From 3fa56000c97462fc5e7b9a8cd9bb37f173632962 Mon Sep 17 00:00:00 2001 From: JP Lehr Date: Mon, 31 Mar 2025 13:25:09 -0500 Subject: [PATCH] [libc][AMDGPU] Add libc to the runtimes list It appears that if something is contained in the `depends_on_project` list but is not explicitly mentioned as an `enable_runtimes`, while also an explicit `enable_runtimes` list is passed to the unified tree builder, that component is auto-added as an `LLVM_ENABLE_PROJECTS`. This is wrong in the case of libc. Wile we only care about the version being built for AMDGPU, this appears to be the easiest fix to unblock our libc bot. --- buildbot/osuosl/master/config/builders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py index a296b4c1f..5c9215921 100644 --- a/buildbot/osuosl/master/config/builders.py +++ b/buildbot/osuosl/master/config/builders.py @@ -1953,7 +1953,7 @@ 'builddir': "openmp-offload-amdgpu-runtime-2", 'factory' : OpenMPBuilder.getOpenMPCMakeBuildFactory( clean=True, - enable_runtimes=['compiler-rt', 'libunwind', 'libcxx', 'libcxxabi', 'openmp', 'offload'], + enable_runtimes=['compiler-rt', 'libunwind', 'libc', 'libcxx', 'libcxxabi', 'openmp', 'offload'], depends_on_projects=['llvm','clang','lld', 'offload', 'openmp', 'compiler-rt', 'libunwind', 'libcxx', 'libcxxabi', 'libc'], extraCmakeArgs=[ "-DCMAKE_BUILD_TYPE=Release",