[zorg] r195334 - Check formatting of Polly
Tobias Grosser
tobias at grosser.es
Thu Nov 21 01:37:39 PST 2013
Author: grosser
Date: Thu Nov 21 03:37:39 2013
New Revision: 195334
URL: http://llvm.org/viewvc/llvm-project?rev=195334&view=rev
Log:
Check formatting of Polly
We do not fail the build due to formatting problems, but we show
warnings in the buildbot online interface.
Modified:
zorg/trunk/buildbot/osuosl/master/master.cfg
zorg/trunk/zorg/buildbot/builders/PollyBuilder.py
Modified: zorg/trunk/buildbot/osuosl/master/master.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/master.cfg?rev=195334&r1=195333&r2=195334&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/master.cfg (original)
+++ zorg/trunk/buildbot/osuosl/master/master.cfg Thu Nov 21 03:37:39 2013
@@ -142,6 +142,7 @@ c['schedulers'].append(SingleBranchSched
treeStableTimer=2*60,
builderNames=get_all_for("polly"),
change_filter=depends_on([
+ "cfe",
"llvm",
"polly"])))
Modified: zorg/trunk/zorg/buildbot/builders/PollyBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/PollyBuilder.py?rev=195334&r1=195333&r2=195334&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/PollyBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/PollyBuilder.py Thu Nov 21 03:37:39 2013
@@ -52,6 +52,7 @@ def getPollyBuildFactory():
llvm_objdir = "llvm.obj"
cloog_installdir = "cloog.install"
polly_srcdir = '%s/tools/polly' % llvm_srcdir
+ clang_srcdir = '%s/tools/clang' % llvm_srcdir
f = buildbot.process.factory.BuildFactory()
# Determine the build directory.
@@ -60,12 +61,17 @@ def getPollyBuildFactory():
property="builddir",
description="set build dir",
workdir="."))
- # Get LLVM and Polly
+ # Get LLVM, clang and Polly
f.addStep(SVN(name='svn-llvm',
mode='update',
baseURL='http://llvm.org/svn/llvm-project/llvm/',
defaultBranch='trunk',
workdir=llvm_srcdir))
+ f.addStep(SVN(name='svn-clang',
+ mode='update',
+ baseURL='http://llvm.org/svn/llvm-project/cfe/',
+ defaultBranch='trunk',
+ workdir=polly_srcdir))
f.addStep(SVN(name='svn-polly',
mode='update',
baseURL='http://llvm.org/svn/llvm-project/polly/',
@@ -103,6 +109,12 @@ def getPollyBuildFactory():
haltOnFailure=True,
description=["test polly"],
workdir=llvm_objdir))
+ # Check formatting
+ f.addStep(ShellCommand(name="test_polly_format",
+ command=["make", "polly-check-format"],
+ haltOnFailure=False,
+ description=["Check formatting"],
+ workdir=llvm_objdir))
return f
def AddExternalPollyBuildFactory(f, llvm_installdir):
More information about the llvm-commits
mailing list