[zorg] r296757 - Delete obsolete MSVC build factory logic for Clang
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 08:02:36 PST 2017
Author: rnk
Date: Thu Mar 2 10:02:36 2017
New Revision: 296757
URL: http://llvm.org/viewvc/llvm-project?rev=296757&view=rev
Log:
Delete obsolete MSVC build factory logic for Clang
It was for VS 2008. The last user was the old llvmlab code, which I just
deleted.
Modified:
zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangBuilder.py?rev=296757&r1=296756&r2=296757&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Thu Mar 2 10:02:36 2017
@@ -819,84 +819,6 @@ def _getClangCMakeBuildFactory(
return f
-def getClangMSVCBuildFactory(update=True, clean=True, vcDrive='c', jobs=1, cmake=r"cmake"):
- f = buildbot.process.factory.BuildFactory()
-
- if update:
- f.addStep(SVN(name='svn-llvm',
- mode='update', baseURL='http://llvm.org/svn/llvm-project/llvm/',
- defaultBranch='trunk',
- workdir='llvm'))
- f.addStep(SVN(name='svn-clang',
- mode='update', baseURL='http://llvm.org/svn/llvm-project/cfe/',
- defaultBranch='trunk',
- workdir='llvm/tools/clang'))
- f.addStep(SVN(name='svn-clang-tools-extra',
- mode='update', baseURL='http://llvm.org/svn/llvm-project/clang-tools-extra/',
- defaultBranch='trunk',
- workdir='llvm/tools/clang/tools/extra'))
-
- # Full & fast clean.
- if clean:
- f.addStep(ShellCommand(name='clean-1',
- command=['del','/s/q','build'],
- warnOnFailure=True,
- description='cleaning',
- descriptionDone='clean',
- workdir='llvm'))
- f.addStep(ShellCommand(name='clean-2',
- command=['rmdir','/s/q','build'],
- warnOnFailure=True,
- description='cleaning',
- descriptionDone='clean',
- workdir='llvm'))
-
- # Create the project files.
-
- # Use batch files instead of ShellCommand directly, Windows quoting is
- # borked. FIXME: See buildbot ticket #595 and buildbot ticket #377.
- f.addStep(batch_file_download.BatchFileDownload(name='cmakegen',
- command=[cmake,
- "-DLLVM_TARGETS_TO_BUILD:=X86",
- "-DLLVM_INCLUDE_EXAMPLES:=OFF",
- "-DLLVM_INCLUDE_TESTS:=OFF",
- "-DLLVM_TARGETS_TO_BUILD:=X86",
- "-G",
- "Visual Studio 9 2008",
- ".."],
- workdir="llvm\\build"))
- f.addStep(ShellCommand(name='cmake',
- command=['cmakegen.bat'],
- haltOnFailure=True,
- description='cmake gen',
- workdir='llvm\\build'))
-
- # Build it.
- f.addStep(batch_file_download.BatchFileDownload(name='vcbuild',
- command=[vcDrive + r""":\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe""",
- "/M%d" % jobs,
- "LLVM.sln",
- "Debug|Win32"],
- workdir="llvm\\build"))
- f.addStep(WarningCountingShellCommand(name='vcbuild',
- command=['vcbuild.bat'],
- haltOnFailure=True,
- description='vcbuild',
- workdir='llvm\\build',
- warningPattern=" warning C.*:"))
-
- # Build clang-test project.
- f.addStep(batch_file_download.BatchFileDownload(name='vcbuild_test',
- command=[vcDrive + r""":\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe""",
- "clang-test.vcproj",
- "Debug|Win32"],
- workdir="llvm\\build\\tools\\clang\\test"))
- f.addStep(lit_test_command.LitTestCommand(name='test-clang',
- command=["vcbuild_test.bat"],
- workdir="llvm\\build\\tools\\clang\\test"))
-
- return f
-
def addClangGCCTests(f, ignores={}, install_prefix="%(builddir)s/llvm.install",
languages = ('gcc', 'g++', 'objc', 'obj-c++')):
make_vars = [WithProperties(
More information about the llvm-commits
mailing list