[PATCH] D28492: [buildbot] Add slave to test libomp for ppc64le targets.

Samuel Antao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 15:12:25 PST 2017


sfantao created this revision.
sfantao added reviewers: gkistanova, hfinkel, ABataev, Hahnfeld.
sfantao added subscribers: llvm-commits, carlo.bertolli, arpith-jacob, grokos.

This patch adds a slave to test libomp for powerpc64 little endian. This configuration is known to work but didn't have a bot to actually do the testing.

The configuration uses the existing builder infrastructure already in place for x86. The intent is to extend the testing to cover OpenMP offloading (libomptarget) when it is ready in the OpenMP project. The slave has an NVIDIA K40 GPU ready for that purpose.


https://reviews.llvm.org/D28492

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


Index: buildbot/osuosl/master/config/slaves.py
===================================================================
--- buildbot/osuosl/master/config/slaves.py
+++ buildbot/osuosl/master/config/slaves.py
@@ -95,6 +95,9 @@
         create_slave("ppc64le-clang-lnt-test", properties={'jobs': 6}, max_builds=1),
         create_slave("ppc64le-clang-multistage-test", properties={'jobs': 8}, max_builds=1),
         create_slave("ppc64le-sanitizer", properties={'jobs': 4}, max_builds=1),
+        
+        # POWER 8 PowerPC little endian (powerpc64le) with NVIDIA GPUs
+        create_slave("ppc64le-nvidia-K40", properties={'jobs': 4}, max_builds=1),
 
         # Ubuntu x86-64, Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
         create_slave("hexagon-build-02", properties={'jobs': 12, 'loadaverage': 32},
Index: buildbot/osuosl/master/config/builders.py
===================================================================
--- buildbot/osuosl/master/config/builders.py
+++ buildbot/osuosl/master/config/builders.py
@@ -971,6 +971,15 @@
                          cxx_compiler="clang++",
                          ompt=True,
                          env={'PATH':'/home/llvmbb/bin/clang-latest/bin:/home/llvmbb/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin'})},
+                         
+        {'name': "libomp-clang-ppc64le-linux-debian",
+         'slavenames':["ppc64le-nvidia-K40"],
+         'builddir':"libomp-clang-ppc64le-linux-debian",
+         'factory' : Libiomp5Builder.getLibompCMakeBuildFactory(
+                         c_compiler="/home/bbot/opt/clang/bin/clang",
+                         cxx_compiler="/home/bbot/opt/clang/bin/clang++",
+                         env={'PATH':'/home/bbot/opt/cmake/bin:/home/bbot/opt/ninja/bin:/usr/local/bin:/usr/bin:/bin'})},
+
         ]
 
 def _get_libcxx_builders():


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28492.83715.patch
Type: text/x-patch
Size: 1826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170109/178ef720/attachment.bin>


More information about the llvm-commits mailing list