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 @@ -810,6 +810,22 @@ '-DLLVM_PARALLEL_LINK_JOBS=4', '-DLLVM_TARGETS_TO_BUILD=Sparc'])}, + ## LoongArch64 Clang+LLVM build + {'name' : 'clang-loongarch64-linux', + 'tags' : ['clang'], + 'workernames' : ['loongson-loongarch64-clfs-clang-01'], + 'builddir': "clang-loongarch64-linux", + 'factory' : ClangBuilder.getClangCMakeBuildFactory( + clean=False, + checks=[], + runTestSuite=False, + checkout_clang_tools_extra=False, + checkout_compiler_rt=False, + checkout_lld=False, + extra_cmake_args=['-DLLVM_TARGETS_TO_BUILD=X86', + '-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=LoongArch', + '-DLLVM_ENABLE_PROJECTS=clang'])}, + {'name' : "clang-hexagon-elf", 'tags' : ["clang"], 'workernames' : ["hexagon-build-02", "hexagon-build-03"], diff --git a/buildbot/osuosl/master/config/status.py b/buildbot/osuosl/master/config/status.py --- a/buildbot/osuosl/master/config/status.py +++ b/buildbot/osuosl/master/config/status.py @@ -321,7 +321,13 @@ subject = "Build %(builder)s Failure", mode = "failing", builders = ["standalone-build-x86_64"]), - + reporters.MailNotifier( + fromaddr = "llvm.buildmaster@lab.llvm.org", + sendToInterestedUsers = False, + extraRecipients = ["luweining@loongson.cn", "chenli@loongson.cn"], + subject = "Build %(builder)s Failure", + mode = "failing", + builders = ["clang-loongarch64-linux"]), ] 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 @@ -64,6 +64,10 @@ # Windows Server 2016 Intel(R) Xeon(R) CPU @ 2.60GHz, 16 Core(s), 128 GB of RAM create_worker("win-mlir-buildbot", properties={'jobs' : 64}, max_builds=1), + # LoongArch64 Loongson-3C5000L-LL 2GHz, 128GB of RAM + # CLFS repo: https://github.com/sunhaiyong1978/CLFS-for-LoongArch + create_worker("loongson-loongarch64-clfs-clang-01", properties={'jobs': 32}, max_builds=1), + # MIPS Loongson-3A R4 (Loongson-3A4000) 64-bit little endian (mips64el) create_worker("debian-tritium-mips64el", properties={'jobs': 1}, max_builds=1),