Index: buildbot/osuosl/master/config/builders.py =================================================================== --- buildbot/osuosl/master/config/builders.py +++ buildbot/osuosl/master/config/builders.py @@ -1353,6 +1353,13 @@ 'builddir':"libcxx-sphinx-docs", 'factory': SphinxDocsBuilder.getSphinxDocsBuildFactory(libcxx_html=True), 'category' : 'libcxx' + }, + { + 'name':"libunwind-sphinx-docs", + 'slavenames':["gribozavr3"], + 'builddir':"libunwind-sphinx-docs", + 'factory': SphinxDocsBuilder.getSphinxDocsBuildFactory(libunwind_html=True), + 'category' : 'libunwind' } ] Index: zorg/buildbot/builders/SphinxDocsBuilder.py =================================================================== --- zorg/buildbot/builders/SphinxDocsBuilder.py +++ zorg/buildbot/builders/SphinxDocsBuilder.py @@ -11,7 +11,8 @@ clang_html = False, # Build Clang HTML documentation clang_tools_html = False, # Build Clang Extra Tools HTML documentation lld_html = False, # Build LLD HTML documentation - libcxx_html = False # Build Libc++ HTML documentation + libcxx_html = False, # Build Libc++ HTML documentation + libunwind_html = False # Build libunwind HTML documentation ): f = buildbot.process.factory.BuildFactory() @@ -23,6 +24,7 @@ lld_srcdir = llvm_srcdir + '/tools/lld' libcxx_srcdir = llvm_srcdir + '/projects/libcxx' libcxxabi_srcdir = llvm_srcdir + '/projects/libcxxabi' + libunwind_srcdir = llvm_srcdir + '/projects/libunwind' # Get LLVM. This is essential for all builds # because we build all subprojects in tree @@ -65,6 +67,13 @@ defaultBranch='trunk', workdir=libcxxabi_srcdir)) + if libunwind_html: + f.addStep(SVN(name='svn-libunwind', + mode='update', + baseURL='http://llvm.org/svn/llvm-project/libunwind/', + defaultBranch='trunk', + workdir=libunwind_srcdir)) + f.addStep(ShellCommand(name="create-build-dir", command=["mkdir", "-p", llvm_objdir], haltOnFailure=False, # We might of already created the directory in a previous build @@ -132,4 +141,12 @@ targets=['docs-libcxx-html'] )) + if libunwind_html: + f.addStep(NinjaCommand(name="docs-libunwind-html", + haltOnFailure=True, + description=["Build libunwind Sphinx HTML documentation"], + workdir=llvm_objdir, + targets=['docs-libunwind-html'] + )) + return f