From owner-svn-ports-all@freebsd.org Tue Oct 25 02:14:15 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB121C20331; Tue, 25 Oct 2016 02:14:15 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79286980; Tue, 25 Oct 2016 02:14:15 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9P2EEXZ030956; Tue, 25 Oct 2016 02:14:14 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9P2EERr030954; Tue, 25 Oct 2016 02:14:14 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201610250214.u9P2EERr030954@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Tue, 25 Oct 2016 02:14:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424596 - in head/devel: llvm37/files llvm38/files llvm39/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 02:14:15 -0000 Author: brooks Date: Tue Oct 25 02:14:14 2016 New Revision: 424596 URL: https://svnweb.freebsd.org/changeset/ports/424596 Log: Apply a patch from upstream to (hopefully) fix a race in documentation builds. PR: 213619 Reported by: many Added: head/devel/llvm37/files/patch-svn-283188 (contents, props changed) head/devel/llvm38/files/patch-svn-283188 (contents, props changed) head/devel/llvm39/files/patch-svn-283188 (contents, props changed) Added: head/devel/llvm37/files/patch-svn-283188 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm37/files/patch-svn-283188 Tue Oct 25 02:14:14 2016 (r424596) @@ -0,0 +1,26 @@ +------------------------------------------------------------------------ +r283188 | mgorny | 2016-10-04 06:09:14 +0000 (Tue, 04 Oct 2016) | 9 lines + +[cmake] Use separate doctrees to prevent races between Sphinx instances + +Use separate doctrees between different Sphinx builders in order to +prevent race condition issues due to multiple Sphinx instances accessing +the same doctree cache in parallel. + +Bug: https://llvm.org/bugs/show_bug.cgi?id=23781 + +Differential Revision: https://reviews.llvm.org/D23755 +------------------------------------------------------------------------ +Index: cmake/modules/AddSphinxTarget.cmake +=================================================================== +--- cmake/modules/AddSphinxTarget.cmake (revision 283187) ++++ cmake/modules/AddSphinxTarget.cmake (revision 283188) +@@ -6,7 +6,7 @@ + # ``project`` should be the project name + function (add_sphinx_target builder project) + set(SPHINX_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/${builder}") +- set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees") ++ set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees-${builder}") + set(SPHINX_TARGET_NAME docs-${project}-${builder}) + + if (SPHINX_WARNINGS_AS_ERRORS) Added: head/devel/llvm38/files/patch-svn-283188 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm38/files/patch-svn-283188 Tue Oct 25 02:14:14 2016 (r424596) @@ -0,0 +1,26 @@ +------------------------------------------------------------------------ +r283188 | mgorny | 2016-10-04 06:09:14 +0000 (Tue, 04 Oct 2016) | 9 lines + +[cmake] Use separate doctrees to prevent races between Sphinx instances + +Use separate doctrees between different Sphinx builders in order to +prevent race condition issues due to multiple Sphinx instances accessing +the same doctree cache in parallel. + +Bug: https://llvm.org/bugs/show_bug.cgi?id=23781 + +Differential Revision: https://reviews.llvm.org/D23755 +------------------------------------------------------------------------ +Index: cmake/modules/AddSphinxTarget.cmake +=================================================================== +--- cmake/modules/AddSphinxTarget.cmake (revision 283187) ++++ cmake/modules/AddSphinxTarget.cmake (revision 283188) +@@ -6,7 +6,7 @@ + # ``project`` should be the project name + function (add_sphinx_target builder project) + set(SPHINX_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/${builder}") +- set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees") ++ set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees-${builder}") + set(SPHINX_TARGET_NAME docs-${project}-${builder}) + + if (SPHINX_WARNINGS_AS_ERRORS) Added: head/devel/llvm39/files/patch-svn-283188 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm39/files/patch-svn-283188 Tue Oct 25 02:14:14 2016 (r424596) @@ -0,0 +1,26 @@ +------------------------------------------------------------------------ +r283188 | mgorny | 2016-10-04 06:09:14 +0000 (Tue, 04 Oct 2016) | 9 lines + +[cmake] Use separate doctrees to prevent races between Sphinx instances + +Use separate doctrees between different Sphinx builders in order to +prevent race condition issues due to multiple Sphinx instances accessing +the same doctree cache in parallel. + +Bug: https://llvm.org/bugs/show_bug.cgi?id=23781 + +Differential Revision: https://reviews.llvm.org/D23755 +------------------------------------------------------------------------ +Index: cmake/modules/AddSphinxTarget.cmake +=================================================================== +--- cmake/modules/AddSphinxTarget.cmake (revision 283187) ++++ cmake/modules/AddSphinxTarget.cmake (revision 283188) +@@ -6,7 +6,7 @@ + # ``project`` should be the project name + function (add_sphinx_target builder project) + set(SPHINX_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/${builder}") +- set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees") ++ set(SPHINX_DOC_TREE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees-${builder}") + set(SPHINX_TARGET_NAME docs-${project}-${builder}) + + if (SPHINX_WARNINGS_AS_ERRORS)