[buildbot] Add an MLIR buildbot on Windows
Summary: This adds a Buildbot for MLIR on Windows
Reviewers: gkistanova
Reviewed By: gkistanova
Subscribers: mehdi_amini, NathanielMcVicar, rriddle, aartbik
Differential Revision: https://reviews.llvm.org/D75495
diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py
index 623869e..b16476e 100644
--- a/buildbot/osuosl/master/config/builders.py
+++ b/buildbot/osuosl/master/config/builders.py
@@ -1063,6 +1063,21 @@
'CXX': 'clang++',
'LD': 'lld',
})},
+ {'name': "mlir-windows",
+ 'mergeRequests': False,
+ 'slavenames':["win-mlir-buildbot"],
+ 'builddir': "mlir-x64-windows-ninja",
+ 'category' : 'mlir',
+ 'factory': UnifiedTreeBuilder.getCmakeWithNinjaWithMSVCBuildFactory(
+ clean=True,
+ depends_on_projects=['llvm','mlir'],
+ vs="autodetect",
+ checks=['check-mlir'],
+ extra_configure_args=[
+ '-DLLVM_BUILD_EXAMPLES=ON',
+ '-DLLVM_ENABLE_PROJECTS=mlir',
+ '-DLLVM_TARGETS_TO_BUILD="host;NVPTX;AMDGPU"',
+ ]},
]
# Sanitizer builders.
diff --git a/buildbot/osuosl/master/config/slaves.py b/buildbot/osuosl/master/config/slaves.py
index 60649f0..8f1b0b9 100644
--- a/buildbot/osuosl/master/config/slaves.py
+++ b/buildbot/osuosl/master/config/slaves.py
@@ -64,6 +64,9 @@
# Windows Server 2016 Intel Xeon(R) Quad 2.30 GHz, 56GB of RAM
create_slave("win-py3-buildbot", properties={'jobs' : 64}, max_builds=1),
+ # Windows Server 2016 Intel(R) Xeon(R) CPU @ 2.60GHz, 16 Core(s), 128 GB of RAM
+ create_slave("win-mlir-buildbot", properties={'jobs' : 64}, max_builds=1),
+
# POWER7 PowerPC big endian (powerpc64)
create_slave("ppc64be-clang-test", properties={'jobs': 16}, max_builds=1),
create_slave("ppc64be-clang-lnt-test", properties={'jobs': 16, 'vcs_protocol': 'https'}, max_builds=1),
diff --git a/buildbot/osuosl/master/config/status.py b/buildbot/osuosl/master/config/status.py
index fab3948..c06f945 100644
--- a/buildbot/osuosl/master/config/status.py
+++ b/buildbot/osuosl/master/config/status.py
@@ -214,6 +214,15 @@
num_lines = 15),
InformativeMailNotifier(
fromaddr = "llvm.buildmaster@lab.llvm.org",
+ sendToInterestedUsers = False,
+ extraRecipients = ["stilis@microsoft.com", "namcvica@microsoft.com"],
+ subject="Build %(builder)s Failure",
+ mode = "failing",
+ builders = ["mlir-windows"],
+ addLogs=False,
+ num_lines = 15),
+ InformativeMailNotifier(
+ fromaddr = "llvm.buildmaster@lab.llvm.org",
sendToInterestedUsers= False,
extraRecipients = ["phosek@google.com"],
subject="Build %(builder)s Failure",