From bd2e244f3362ea085e0cfb47982dcb9d93fafec9 Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Sat, 5 Feb 2022 04:59:42 -0700 Subject: [PATCH] llvm12: apply workaround to lld cmake file (#6591) related to issue #3749 --- sys-devel/llvm/llvm12-12.0.1.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-devel/llvm/llvm12-12.0.1.recipe b/sys-devel/llvm/llvm12-12.0.1.recipe index 864f26914..e551ab4c6 100644 --- a/sys-devel/llvm/llvm12-12.0.1.recipe +++ b/sys-devel/llvm/llvm12-12.0.1.recipe @@ -31,7 +31,7 @@ other than the ones listed above. HOMEPAGE="https://www.llvm.org/" COPYRIGHT="2003-2019 University of Illinois at Urbana-Champaign" LICENSE="Apache v2 with LLVM Exception" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-$portVersion/llvm-$portVersion.src.tar.xz" CHECKSUM_SHA256="7d9a8405f557cefc5a21bf5672af73903b64749d9bc3a50322239f56f34ffddf" SOURCE_DIR="llvm-$portVersion.src" @@ -594,6 +594,7 @@ INSTALL() # adjust cmake library paths because prepareInstalledDevelLibs moved them sed -i 's,\${_IMPORT_PREFIX}/lib/,\${_IMPORT_PREFIX}/develop/lib/,' \ $libDir/cmake/clang/ClangTargets-release.cmake \ + $libDir/cmake/lld/LLDTargets-release.cmake \ $libDir/cmake/llvm/LLVMExports-release.cmake mv $prefix/include/* $includeDir/