sys-devel/clang: Include LLVMTestingSupport lib in -9999 checkout
authorMichał Górny <mgorny@gentoo.org>
Sat, 7 Apr 2018 09:05:44 +0000 (11:05 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 7 Apr 2018 21:29:48 +0000 (23:29 +0200)
Include the lib/Testing/Support directory in LLVM checkout since
the clangd tests (part of clang-tools-extra) require that library now.
The code still needs a fix upstream to actually build the library.

sys-devel/clang/clang-9999.ebuild

index d769bda1d0336b6e2faeed709850d3ec89d3f536..8bc9b08cc4596e83170756950197961404f37fd6 100644 (file)
@@ -99,7 +99,8 @@ src_unpack() {
                "${S}"/tools/extra
        if use test; then
                git-r3_checkout https://llvm.org/git/llvm.git \
-                       "${WORKDIR}"/llvm '' utils/{lit,llvm-lit,unittest}
+                       "${WORKDIR}"/llvm '' \
+                       lib/Testing/Support utils/{lit,llvm-lit,unittest}
        fi
        git-r3_checkout "${EGIT_REPO_URI}" "${S}"
 }