[arch-commits] Commit in clang/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Oct 8 12:06:42 UTC 2019
Date: Tuesday, October 8, 2019 @ 12:06:42
Author: foutrelis
Revision: 364169
upgpkg: clang 9.0.0-2
Stop shipping libclang-cpp until we can get rid of BUILD_SHARED_LIBS=ON;
mixing libclang-cpp with clang component libraries breaks qtcreator and
possibly other configurations.
Modified:
clang/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 11:57:44 UTC (rev 364168)
+++ PKGBUILD 2019-10-08 12:06:42 UTC (rev 364169)
@@ -3,7 +3,7 @@
pkgname=clang
pkgver=9.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="C language family frontend for LLVM"
arch=('x86_64')
url="https://clang.llvm.org/"
@@ -45,6 +45,9 @@
# https://reviews.llvm.org/D66176
patch -Np1 -i ../0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch
+
+ # Avoid shipping libclang-cpp before removing BUILD_SHARED_LIBS=ON
+ sed -i '/add_clang_subdirectory(clang-shlib)/d' tools/CMakeLists.txt
}
build() {
@@ -60,7 +63,7 @@
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
- -DCLANG_LINK_CLANG_DYLIB=ON \
+ -DCLANG_LINK_CLANG_DYLIB=OFF \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_BUILD_TESTS=ON \
-DLLVM_INCLUDE_DOCS=ON \
More information about the arch-commits
mailing list