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,30 @@ '-DLLVM_PARALLEL_LINK_JOBS=4', '-DLLVM_TARGETS_TO_BUILD=Sparc'])}, + ## LoongArch64 Clang+LLVM build check-all + {'name' : 'clang-loongarch64-linux', + 'tags' : ['clang'], + 'workernames' : ['loongson-loongarch64-clfs-clang-01'], + 'builddir': 'clang-loongarch64-linux', + 'factory' : ClangBuilder.getClangCMakeBuildFactory( + clean=False, + 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', + # Regression testcase Clang :: Analysis/localization-aggressive.m fails while using + # the gcc-13 built from the lastest commitid 14d11df96336e9d06a4c8108b61815ad94866519 + # as compilers. For details, see: https://github.com/llvm/llvm-project/issues/59227 + # The final gcc compilers used are compiled from the commitid which can be got by + # running the following commands under the root of GCC sources: + # git reset --hard aa05838b0536^ + # git revert 87dd4c8c837 + '-DCMAKE_C_COMPILER=/home/loongson/gcc/gcc-install/bin/gcc', + '-DCMAKE_CXX_COMPILER=/home/loongson/gcc/gcc-install/bin/g++', + '-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),