[llvm-commits] [zorg] r105365 - /zorg/trunk/buildbot/osuosl/master/config/builders.py

Galina Kistanova gkistanova at gmail.com
Wed Jun 2 16:44:32 PDT 2010


Author: gkistanova
Date: Wed Jun  2 18:44:32 2010
New Revision: 105365

URL: http://llvm.org/viewvc/llvm-project?rev=105365&view=rev
Log:
Added new buildbot builder for cross built self-hosted llvm and llvm-gcc. The build script firstly builds a cross llvm-gcc (--build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10 --target=i686-pc-mingw32), then it cross builds a self-hosted llvm-gcc (--build=x86_64-apple-darwin10 --host=i686-pc-mingw32 --target=i686-pc-mingw32) with just built cross compiler.

Modified:
    zorg/trunk/buildbot/osuosl/master/config/builders.py

Modified: zorg/trunk/buildbot/osuosl/master/config/builders.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/builders.py?rev=105365&r1=105364&r2=105365&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/builders.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/builders.py Wed Jun  2 18:44:32 2010
@@ -342,6 +342,65 @@
                                         'haltOnFailure' : True },]),
          'category'  : 'llvm-gcc' },
 
+        {'name'      : "build-self-4-mingw32",
+         'slavenames': [ "kistanova1" ],
+         'builddir'  : "build-self-4-mingw32",
+         'factory'   : ScriptedBuilder.getScriptedBuildFactory(
+                       source_code  = [SVN(name='svn-llvm',
+                                           mode='update', baseURL='http://llvm.org/svn/llvm-project/llvm/',
+                                           defaultBranch='trunk',
+                                           workdir="llvm.src"),
+                                       SVN(name='svn-llvm-gcc',
+                                           mode='update', baseURL='http://llvm.org/svn/llvm-project/llvm-gcc-4.2/',
+                                           defaultBranch='trunk',
+                                           workdir="llvm-gcc.src"),],
+                       launcher     = 'llvm-gcc.src/extras/buildbot-launcher',
+                       build_script = 'llvm-gcc.src/extras/build-self-4-mingw32',
+                       extra_args   = [],
+                       build_steps  = [{'name'          : 'clean',
+                                        'description'   : 'clean',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'copy_cross_tools',
+                                        'description'   : 'copy cross-tools',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'configure_llvm_1',
+                                        'description'   : 'configure llvm (stage1)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'make_llvm_1',
+                                        'description'   : 'compile llvm (stage1)',
+                                        'extra_args'    : ['-j16'],  # Extra step-specific properties
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'test_llvm_1',
+                                        'type'          : ClangTestCommand,
+                                        'description'   : 'test llvm (stage1)',
+                                        'haltOnFailure' : False },
+                                       {'name'          : 'configure_llvmgcc_1',
+                                        'description'   : 'configure llvm-gcc (stage1)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'make_llvmgcc_1',
+                                        'description'   : 'compile llvm-gcc (stage1)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'install_llvmgcc_1',
+                                        'description'   : 'install llvm-gcc (stage1)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'configure_llvm_2',
+                                        'description'   : 'configure llvm (stage2)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'make_llvm_2',
+                                        'description'   : 'compile llvm (stage2)',
+                                        'extra_args'    : ['-j16'],  # Extra step-specific properties
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'configure_llvmgcc_2',
+                                        'description'   : 'configure llvm-gcc (stage2)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'make_llvmgcc_2',
+                                        'description'   : 'compile llvm-gcc (stage2)',
+                                        'haltOnFailure' : True },
+                                       {'name'          : 'install_llvmgcc_2',
+                                        'description'   : 'install llvm-gcc (stage2)',
+                                        'haltOnFailure' : True },]),
+          'category'  : 'llvm-gcc' },
+
         {'name' : "clang-i686-linux-selfhost-rel",
          'slavenames' : ["osu8"],
          'builddir' : "clang-i686-linux-selfhost-rel",





More information about the llvm-commits mailing list