diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py --- a/buildbot/osuosl/master/config/builders.py +++ b/buildbot/osuosl/master/config/builders.py @@ -1859,4 +1859,21 @@ "-DTENSORFLOW_AOT_PATH=/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow" ])}, + # build clangd with remote-index enabled and check with TSAN + {'name': "clangd-ubuntu-TSAN", + 'tags': ["clangd"], + 'workernames': ["clangd-ubuntu-clang"], + 'builddir': "clangd-ubuntu-TSAN", + 'factory': UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory( + clean=True, + depends_on_projects=['"clang;clang-tools-extra'], + extra_configure_args=[ + '-DLLVM_CCACHE_BUILD="ON"', + '-DLLVM_USE_SANITIZER="Thread"', + '-DCMAKE_BUILD_TYPE="RELEASE"', + '-DCLANGD_ENABLE_REMOTE="ON"', + '-DLLVM_ENABLE_ASSERTIONS="ON"', + ])}, + + ] diff --git a/buildbot/osuosl/master/config/workers.py b/buildbot/osuosl/master/config/workers.py --- a/buildbot/osuosl/master/config/workers.py +++ b/buildbot/osuosl/master/config/workers.py @@ -207,6 +207,10 @@ # Uubntu 18.04 amd64 on Google Cloud, 16 core, Nvidia Tesla T4 create_worker("mlir-nvidia", properties={'jobs': 16}, max_builds=1), + # Uubntu 18.04 on Google Cloud, for machine configuration check + # buildbot/google/terraform/main.tf + create_worker("clangd-ubuntu-clang", max_builds=1), + # Ubuntu 18.04.LTS x86_64, GCE instance create_worker("polly-x86_64-gce1", properties={'jobs': 2}, max_builds=1), create_worker("polly-x86_64-gce2", properties={'jobs': 2}, max_builds=1),