def _get_dragonegg_builders(): return [ {'name' : 'dragonegg-i386-linux', 'slavenames' : ['gcc16'], 'builddir' : 'dragonegg-i386-linux', '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-dragonegg', mode='update', baseURL='http://llvm.org/svn/llvm-project/dragonegg/', defaultBranch='trunk', workdir="dragonegg.src"),], launcher = 'dragonegg.src/extras/buildbot_self_strap-32', timeout = 60), 'category' : 'dragonegg'}, {'name' : 'dragonegg-x86_64-linux', 'slavenames' : ['gcc17'], 'builddir' : 'dragonegg-x86_64-linux', '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-dragonegg', mode='update', baseURL='http://llvm.org/svn/llvm-project/dragonegg/', defaultBranch='trunk', workdir="dragonegg.src"),], launcher = 'dragonegg.src/extras/buildbot_self_strap', timeout = 60), 'category' : 'dragonegg'}, ]
def _get_experimental_builders(): return [ {'name' : "clang-i386-darwin10-selfhost-rel", 'slavenames' : ["dunbar-darwin10"], 'builddir' : "clang-i386-darwin10-selfhost-rel", 'factory' : ClangBuilder.getClangBuildFactory(triple='i386-apple-darwin10', useTwoStage=True, stage1_config='Release+Asserts', stage2_config='Release+Asserts'), 'category' : 'clang.exp' }, {'name' : "clang-x86_64-darwin10-selfhost-rel", 'slavenames' : ["dunbar-darwin10"], 'builddir' : "clang-x86_64-darwin10-selfhost-rel", 'factory' : ClangBuilder.getClangBuildFactory(triple='x86_64-apple-darwin10', useTwoStage=True, stage1_config='Release+Asserts', stage2_config='Release+Asserts'), 'category' : 'clang.exp' }, {'name': "clang-native-arm-cortex-a9", 'slavenames':["kistanova6"], 'builddir':"clang-native-arm-cortex-a9", 'factory' : ClangBuilder.getClangBuildFactory( extra_configure_args=['--build=armv7l-unknown-linux-gnueabi', '--host=armv7l-unknown-linux-gnueabi', '--target=armv7l-unknown-linux-gnueabi', '--with-cpu=cortex-a9', '--with-fpu=neon', '--with-abi=aapcs', '--with-float=hard', '--enable-targets=arm,cbe', '--enable-optimized']), 'category' : 'clang'}, # Clang cross builders. {'name': "clang-x86_64-darwin10-self-mingw32", 'slavenames':["kistanova1"], 'builddir':"clang-x86_64-darwin10-self-mingw32", 'factory' : ClangBuilder.getClangBuildFactory(outOfDir=True, jobs=4, test=False, extra_configure_args=['--build=x86_64-apple-darwin10', '--host=i686-pc-mingw32', '--target=i686-pc-mingw32']), 'category' : 'clang'}, {'name' : "clang-x86_64-darwin10-cross-mingw32", 'slavenames' :["kistanova1"], 'builddir' :"clang-x86_64-darwin10-cross-mingw32", 'factory' : ClangBuilder.getClangBuildFactory(outOfDir=True, jobs=4, use_pty_in_tests=True, run_cxx_tests=True, extra_configure_args=['--build=x86_64-apple-darwin10', '--host=x86_64-apple-darwin10', '--target=i686-pc-mingw32']), 'category' : 'clang'}, # Llvm-gcc cross builders. {'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' : ['-j8'], # 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)', 'extra_args' : ['-j8'], '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' : ['-j8'], # 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)', 'extra_args' : ['-j8'], 'haltOnFailure' : True }, {'name' : 'install_llvmgcc_2', 'description' : 'install llvm-gcc (stage2)', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-x86_64-darwin10-cross-i686-linux", 'slavenames': [ "kistanova1" ], 'builddir' : "llvm-gcc-x86_64-darwin10-cross-i686-linux", '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-x-4-linux', extra_args = [], build_steps = [{'name' : 'clean', 'description' : 'clean', 'haltOnFailure' : True }, {'name' : 'copy_cross_tools', 'description' : 'copy cross-tools', 'haltOnFailure' : True }, {'name' : 'configure_llvm', 'description' : 'configure llvm', 'haltOnFailure' : True }, {'name' : 'make_llvm', 'description' : 'make llvm', 'extra_args' : ['-j8'], # Extra step-specific properties 'haltOnFailure' : True }, {'name' : 'configure_llvmgcc', 'description' : 'configure llvm-gcc', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc', 'description' : 'make llvm-gcc', 'extra_args' : ['-j8'], 'haltOnFailure' : True }, {'name' : 'install_llvmgcc', 'description' : 'install llvm-gcc', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-build-x86_64-darwin10-x-mingw32-x-armeabi", 'slavenames': [ "kistanova1" ], 'builddir' : "llvm-gcc-build-x86_64-darwin10-x-mingw32-x-armeabi", '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-darwin-x-mingw32-x-armeabi', 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 (stage 1)', 'haltOnFailure' : True }, {'name' : 'make_llvm_1', 'description' : 'make llvm (stage 1)', 'extra_args' : ['-j8'], # Extra step-specific properties 'haltOnFailure' : True }, {'name' : 'test_llvm_1', 'description' : 'test llvm (stage 1)', 'haltOnFailure' : False }, {'name' : 'configure_llvmgcc_1', 'description' : 'configure llvm-gcc (stage 1)', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc_1', 'description' : 'make llvm-gcc (stage 1)', # Note: one thread only here 'haltOnFailure' : True }, {'name' : 'install_llvmgcc_1', 'description' : 'install llvm-gcc (stage 1)', 'haltOnFailure' : True }, {'name' : 'configure_llvm_2', 'description' : 'configure llvm (stage 2)', 'haltOnFailure' : True }, {'name' : 'make_llvm_2', 'description' : 'make llvm (stage 2)', 'extra_args' : ['-j8'], 'haltOnFailure' : True }, {'name' : 'configure_llvmgcc_2', 'description' : 'configure llvm-gcc (stage 2)', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc_2', 'description' : 'make llvm-gcc (stage 2)', 'extra_args' : ['-j8'], 'haltOnFailure' : True }, {'name' : 'install_llvmgcc_2', 'description' : 'install llvm-gcc (stage 2)', 'haltOnFailure' : True }, {'name' : 'configure_llvm_3', 'description' : 'configure llvm (stage 3)', 'haltOnFailure' : True }, {'name' : 'make_llvm_3', 'description' : 'make llvm (stage 3)', 'extra_args' : ['-j8'], 'haltOnFailure' : True }, {'name' : 'configure_llvmgcc_3', 'description' : 'configure llvm-gcc (stage 3)', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc_3', 'description' : 'make llvm-gcc (stage 3)', 'extra_args' : ['-j8'], 'haltOnFailure' : True }, {'name' : 'install_llvmgcc_3', 'description' : 'install llvm-gcc (stage 3)', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-native-mingw32", 'slavenames': [ "kistanova2" ], 'builddir' : "llvm-gcc-native-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-native-mingw32', extra_args = [], build_steps = [{'name' : 'clean', 'description' : 'clean', 'haltOnFailure' : True }, {'name' : 'copy_tools', 'description' : 'copy tools', 'haltOnFailure' : True }, {'name' : 'configure_llvm', 'description' : 'configure llvm', 'haltOnFailure' : True }, {'name' : 'make_llvm', 'description' : 'make llvm', 'haltOnFailure' : True }, {'name' : 'test_llvm', 'type' : ClangTestCommand, 'description' : 'test llvm', 'haltOnFailure' : False }, {'name' : 'configure_llvmgcc', 'description' : 'configure llvm-gcc', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc', 'description' : 'make llvm-gcc', 'haltOnFailure' : True }, {'name' : 'install_llvmgcc', 'description' : 'install llvm-gcc', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-native-mingw32-win7", 'slavenames': [ "kistanova3" ], 'builddir' : "llvm-gcc-native-mingw32-win7", '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-native-mingw32', extra_args = [], build_steps = [{'name' : 'clean', 'description' : 'clean', 'haltOnFailure' : True }, {'name' : 'copy_tools', 'description' : 'copy tools', 'haltOnFailure' : True }, {'name' : 'configure_llvm', 'description' : 'configure llvm', 'haltOnFailure' : True }, {'name' : 'make_llvm', 'description' : 'make llvm', 'haltOnFailure' : True }, {'name' : 'test_llvm', 'type' : ClangTestCommand, 'description' : 'test llvm', 'haltOnFailure' : False }, {'name' : 'configure_llvmgcc', 'description' : 'configure llvm-gcc', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc', 'description' : 'make llvm-gcc', 'haltOnFailure' : True }, {'name' : 'install_llvmgcc', 'description' : 'install llvm-gcc', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-hard-float", 'slavenames': [ "kistanova4" ], 'builddir' : "llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-hard-float", '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-x-4-armeabi-hardfloat', extra_args = [], build_steps = [{'name' : 'clean', 'description' : 'clean', 'haltOnFailure' : True }, {'name' : 'copy_cross_tools', 'description' : 'copy cross-tools', 'haltOnFailure' : True }, {'name' : 'configure_llvm', 'description' : 'configure llvm', 'haltOnFailure' : True }, {'name' : 'make_llvm', 'description' : 'make llvm', 'extra_args' : ['-j4'], 'haltOnFailure' : True }, {'name' : 'install_llvm', 'description' : 'install llvm', 'extra_args' : ['-j4'], 'haltOnFailure' : False }, {'name' : 'configure_llvmgcc', 'description' : 'configure llvm-gcc', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc', 'description' : 'make llvm-gcc', 'extra_args' : ['-j4'], 'haltOnFailure' : True }, {'name' : 'install_llvmgcc', 'description' : 'install llvm-gcc', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-soft-float", 'slavenames': [ "kistanova4" ], 'builddir' : "llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-soft-float", '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-x-4-armeabi-softfloat', extra_args = [], build_steps = [{'name' : 'clean', 'description' : 'clean', 'haltOnFailure' : True }, {'name' : 'copy_cross_tools', 'description' : 'copy cross-tools', 'haltOnFailure' : True }, {'name' : 'configure_llvm', 'description' : 'configure llvm', 'haltOnFailure' : True }, {'name' : 'make_llvm', 'description' : 'make llvm', 'extra_args' : ['-j4'], 'haltOnFailure' : True }, {'name' : 'install_llvm', 'description' : 'install llvm', 'extra_args' : ['-j4'], 'haltOnFailure' : False }, {'name' : 'configure_llvmgcc', 'description' : 'configure llvm-gcc', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc', 'description' : 'make llvm-gcc', 'extra_args' : ['-j4'], 'haltOnFailure' : True }, {'name' : 'install_llvmgcc', 'description' : 'install llvm-gcc', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "llvm-gcc-mingw32-cross-arm-linux-gnueabi-hard-float", 'slavenames': [ "kistanova5" ], 'builddir' : "llvm-gcc-mingw32-cross-arm-linux-gnueabi-hard-float", '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/llvm-gcc-mingw32-cross-arm-linux-gnueabi-hard-float', extra_args = [], build_steps = [{'name' : 'clean', 'description' : 'clean', 'haltOnFailure' : True }, {'name' : 'copy_cross_tools', 'description' : 'copy cross-tools', 'haltOnFailure' : True }, {'name' : 'configure_llvm', 'description' : 'configure llvm', 'haltOnFailure' : True }, {'name' : 'make_llvm', 'description' : 'make llvm', 'haltOnFailure' : True }, {'name' : 'configure_llvmgcc', 'description' : 'configure llvm-gcc', 'haltOnFailure' : True }, {'name' : 'make_llvmgcc', 'description' : 'make llvm-gcc', 'haltOnFailure' : True }, {'name' : 'install_llvmgcc', 'description' : 'install llvm-gcc', 'haltOnFailure' : True },]), 'category' : 'llvm-gcc' }, {'name' : "clang-i686-linux-selfhost-rel", 'slavenames' : ["osu8"], 'builddir' : "clang-i686-linux-selfhost-rel", 'factory' : ClangBuilder.getClangBuildFactory(triple='i686-pc-linux-gnu', useTwoStage=True, stage1_config='Release+Asserts', stage2_config='Release+Asserts'), 'category' : 'clang.exp' }, # {'name' : "clang-i686-xp-msvc9_alt", # 'slavenames' :['adobe1'], # 'builddir' :"clang-i686-xp-msvc9_alt", # 'factory' : ClangBuilder.getClangMSVCBuildFactory(jobs=2), # 'category' : 'clang.exp' }, {'name': "clang-i686-freebsd-selfhost-rel", 'slavenames':["freebsd1"], 'builddir':"clang-i686-freebsd-selfhost-rel", 'factory': ClangBuilder.getClangBuildFactory(triple='i686-pc-freebsd', useTwoStage=True, stage1_config='Release+Asserts', stage2_config='Release+Asserts'), 'category' : 'clang.exp' }, ]