From b6e3f66b10ab42b92753d489dc10859318693204 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Wed, 12 Jul 2023 11:11:07 +0200 Subject: [PATCH] Add new builder configuration to test use of LLVM dylib across all tools --- buildbot/osuosl/master/config/builders.py | 28 +++++++++++++++++++++++ buildbot/osuosl/master/config/status.py | 1 + 2 files changed, 29 insertions(+) diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py index 1a594af80..13e5265d7 100644 --- a/buildbot/osuosl/master/config/builders.py +++ b/buildbot/osuosl/master/config/builders.py @@ -77,6 +77,34 @@ 'CC': 'clang', 'CXX': 'clang++', })}, + {'name' : "clang-x86_64-debian-dylib-fast", + 'tags' : ["clang", "fast"], + 'collapseRequests': False, + 'workernames':["gribozavr4"], + 'builddir':"clang-x86_64-debian-dylib-fast", + 'factory' : UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory( + llvm_srcdir="llvm.src", + obj_dir="llvm.obj", + clean=True, + depends_on_projects=['llvm','clang','clang-tools-extra','compiler-rt'], + extra_configure_args=[ + "-DLLVM_CCACHE_BUILD=ON", + "-DLLVM_BUILD_LLVM_DYLIB=ON", + "-DLLVM_LINK_LLVM_DYLIB=ON", + "-DCOMPILER_RT_BUILD_BUILTINS:BOOL=OFF", + "-DCOMPILER_RT_BUILD_ORC:BOOL=OFF", + "-DCOMPILER_RT_BUILD_SANITIZERS:BOOL=OFF", + "-DCOMPILER_RT_BUILD_XRAY:BOOL=OFF", + "-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF", + "-DCOMPILER_RT_BUILD_LIBFUZZER:BOOL=OFF", + "-DCMAKE_C_FLAGS=-Wdocumentation -Wno-documentation-deprecated-sync", + "-DCMAKE_CXX_FLAGS=-std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync", + ], + env={ + 'PATH':'/home/llvmbb/bin/clang-latest/bin:/home/llvmbb/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin', + 'CC': 'clang', 'CXX': 'clang++', + })}, + {'name' : "llvm-clang-x86_64-win-fast", 'tags' : ["clang", "fast"], 'collapseRequests': False, diff --git a/buildbot/osuosl/master/config/status.py b/buildbot/osuosl/master/config/status.py index f8240ed78..80807416c 100644 --- a/buildbot/osuosl/master/config/status.py +++ b/buildbot/osuosl/master/config/status.py @@ -19,6 +19,7 @@ "llvm-clang-x86_64-expensive-checks-ubuntu", "llvm-clang-x86_64-win-fast", "clang-x86_64-debian-fast", + "clang-x86_64-debian-dylib-fast", "llvm-clang-x86_64-expensive-checks-debian", "llvm-clang-x86_64-sie-ubuntu-fast", ] + [