[PATCH] D14696: [zorg][mips] Add a little endian version of clang-cmake-mips.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 02:25:21 PST 2015


dsanders created this revision.
dsanders added subscribers: gkistanova, llvm-commits.

http://reviews.llvm.org/D14696

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

Index: buildbot/osuosl/master/config/status.py
===================================================================
--- buildbot/osuosl/master/config/status.py
+++ buildbot/osuosl/master/config/status.py
@@ -152,7 +152,8 @@
             extraRecipients = ["daniel.sanders at imgtec.com"],
             subject="Build %(builder)s Failure",
             mode = "failing",
-            builders = ["llvm-mips-linux", "clang-cmake-mips"],
+            builders = ["llvm-mips-linux", "clang-cmake-mips",
+                        "clang-cmake-mipsel"],
             addLogs=False,
             num_lines = 15),
         ]
Index: buildbot/osuosl/master/config/slaves.py
===================================================================
--- buildbot/osuosl/master/config/slaves.py
+++ buildbot/osuosl/master/config/slaves.py
@@ -118,6 +118,9 @@
         # Cavium Octeon II V0.2, MIPS64r2 big endian, Debian Jessie
         create_slave("mips-kl-m001", properties={'jobs' : 10}, max_builds=1),
 
+        # Cavium Octeon II V0.1, MIPS64r2 little endian, Debian Jessie
+        create_slave("mips-kl-erpro001", properties={'jobs' : 2}, max_builds=1),
+
         # Debian Testing x86-64, Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
         #create_slave("gribozavr1", properties={'jobs': 8}, max_builds=1),
 
Index: buildbot/osuosl/master/config/builders.py
===================================================================
--- buildbot/osuosl/master/config/builders.py
+++ buildbot/osuosl/master/config/builders.py
@@ -707,6 +707,22 @@
                            extra_cmake_args=["-DLLVM_HOST_TRIPLE=mips-unknown-linux-gnu",
                                              "-DLLVM_DEFAULT_TARGET_TRIPLE=mips-unknown-linux-gnu",
                                              "-DLLVM_TARGET_ARCH=Mips"])},
+          # Mips check-all with CMake builder
+          # We currently have to force CMAKE_HOST_TRIPLE and
+          # CMAKE_DEFAULT_TARGET_TRIPLE on this system. CMake gets the value
+          # correct for the processor but it's currently not possible to emit O32
+          # code using a mips64-* triple. This is a bug and should be fixed soon.
+          # We must also force LLVM_TARGET_ARCH so that the ExecutionEngine tests
+          # run.
+          {'name': "clang-cmake-mipsel",
+           'slavenames':["mips-kl-erpro001"],
+           'builddir':"clang-cmake-mipsel",
+           'factory' : ClangBuilder.getClangCMakeBuildFactory(
+                           clean=False,
+                           checkout_compiler_rt=True,
+                           extra_cmake_args=["-DLLVM_HOST_TRIPLE=mipsel-unknown-linux-gnu",
+                                             "-DLLVM_DEFAULT_TARGET_TRIPLE=mipsel-unknown-linux-gnu",
+                                             "-DLLVM_TARGET_ARCH=Mips"])},
           ]
 
 def _get_openmp_builders():


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14696.40258.patch
Type: text/x-patch
Size: 2856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151116/8828e8ff/attachment.bin>


More information about the llvm-commits mailing list