diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py --- a/buildbot/osuosl/master/config/builders.py +++ b/buildbot/osuosl/master/config/builders.py @@ -2004,6 +2004,12 @@ 'builddir': "publish-doxygen-docs", 'factory' : DoxygenDocsBuilder.getLLVMDocsBuildFactory()}, + {'name' : "polly-sphinx-docs", + 'tags' : ["llvm", "doc"], + 'workernames' : ["polly-x86_64-gce1"], + 'builddir': "polly-sphinx-docs", + 'factory': SphinxDocsBuilder.getSphinxDocsBuildFactory(polly_html=True)}, + # CUDA builders. {'name' : "clang-cuda-k80", diff --git a/zorg/buildbot/builders/SphinxDocsBuilder.py b/zorg/buildbot/builders/SphinxDocsBuilder.py --- a/zorg/buildbot/builders/SphinxDocsBuilder.py +++ b/zorg/buildbot/builders/SphinxDocsBuilder.py @@ -30,6 +30,7 @@ libcxx_html = False, # Build Libc++ HTML documentation libunwind_html = False, # Build libunwind HTML documentation lldb_html = False, # Build LLDB HTML documentation + polly_html = False, # Build Polly HTML documentation extra_configure_args = None, **kwargs): @@ -66,6 +67,8 @@ depends_on_projects.append('libcxxabi') if libunwind_html: depends_on_projects.append('libunwind') + if polly_html: + depends_on_projects.append('polly') f = UnifiedTreeBuilder.getCmakeBuildFactory( depends_on_projects=depends_on_projects, @@ -139,6 +142,14 @@ targets=['docs-libunwind-html'] )) + if polly_html: + f.addStep(NinjaCommand(name="docs-polly-html", + haltOnFailure=True, + description=["Build Polly Sphinx HTML documentation"], + workdir=llvm_objdir, + targets=['docs-polly-html'] + )) + return f