[PATCH] D27771: [buildbot] switch CUDA buildbot to use CUDATestsuiteBuilder.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 13:25:33 PST 2016


tra created this revision.
tra added a reviewer: gkistanova.
tra added a subscriber: llvm-commits.
Herald added a subscriber: jlebar.

Now cuda buildbot compiles and runs CUDA tests from llvm test-suite.


https://reviews.llvm.org/D27771

Files:
  buildbot/osuosl/master/config/builders.py


Index: buildbot/osuosl/master/config/builders.py
===================================================================
--- buildbot/osuosl/master/config/builders.py
+++ buildbot/osuosl/master/config/builders.py
@@ -13,8 +13,8 @@
 from zorg.buildbot.builders import SphinxDocsBuilder
 from zorg.buildbot.builders import ABITestsuitBuilder
 from zorg.buildbot.builders import ClangLTOBuilder3Stage
-
 from zorg.buildbot.builders import ClangLTOBuilder
+from zorg.buildbot.builders import CUDATestsuiteBuilder
 
 # Plain LLVM builders.
 def _get_llvm_builders():
@@ -1183,10 +1183,10 @@
                                                             stage1_config='Release'),
          'category' : 'clang'},
 
-        {'name' : "clang-cuda-build",
+        {'name' : "clang-cuda-build-fast",
          'slavenames' : ["cuda-build-test-01"],
-         'builddir' : "clang-cuda-build",
-         'factory' : ClangBuilder.getClangCMakeBuildFactory(
+         'builddir' : "clang-cuda-build-fast",
+         'factory' : CUDATestsuiteBuilder.getCUDATestsuiteBuildFactory(
                      checkout_lld=False,
                      useTwoStage=False,
                      clean=False,
@@ -1196,7 +1196,13 @@
                          '-DLLVM_ENABLE_ASSERTIONS=ON',
                          "-DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-3.8",
                          "-DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-3.8"
-                     ]),
+                     ],
+                     externals="/home/botanist/bots/externals",
+                     gpu_arch_list=["sm_35"],
+                     gpu_devices=[0],   # K40c.
+                     extra_ts_cmake_args=[],
+                     enable_thrust_tests=False,
+         ),
          'category' : 'clang'},
 
         # lldb builders


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27771.81450.patch
Type: text/x-patch
Size: 1795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161214/a28c7e4b/attachment.bin>


More information about the llvm-commits mailing list