[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevelop/5.3] appimage: appimage: fix clang plugin from not loading
From:       Sven Brauch <null () kde ! org>
Date:       2018-09-19 21:13:16
Message-ID: E1g2jme-0006Mk-QM () code ! kde ! org
[Download RAW message or body]

Git commit 997be66c7fc6a8ec3bbde04cc26594dc75a1026b by Sven Brauch.
Committed on 19/09/2018 at 21:13.
Pushed by brauch into branch '5.3'.

appimage: fix clang plugin from not loading

We were missing the clang development headers, which the plugin needs now.

M  +5    -0    appimage/kdevelop-recipe-centos6.sh

https://commits.kde.org/kdevelop/997be66c7fc6a8ec3bbde04cc26594dc75a1026b

diff --git a/appimage/kdevelop-recipe-centos6.sh b/appimage/kdevelop-recipe-centos6.sh
index 4bb723b5a5..0e7ecd6f6b 100755
--- a/appimage/kdevelop-recipe-centos6.sh
+++ b/appimage/kdevelop-recipe-centos6.sh
@@ -281,6 +281,9 @@ cp -r $PLUGINS/xcbglintegrations ./usr/lib/qt5/plugins/
 cp -R /kdevelop.appdir/usr/lib/grantlee/ /kdevelop.appdir/usr/lib/qt5/plugins/
 rm -Rf /kdevelop.appdir/usr/lib/grantlee
 
+mkdir -p /kdevelop.appdir/$LLVM_ROOT/lib/
+cp -r $LLVM_ROOT/lib/clang /kdevelop.appdir/$LLVM_ROOT/lib
+
 cp -ru /usr/share/mime/* /kdevelop.appdir/usr/share/mime
 update-mime-database /kdevelop.appdir/usr/share/mime/
 
@@ -441,6 +444,8 @@ export APPIMAGE_STARTUP_XDG_DATA_DIRS=\$XDG_DATA_DIRS
 export APPIMAGE_STARTUP_PATH=\$PATH
 export APPIMAGE_STARTUP_PYTHONHOME=\$PYTHONHOME
 
+export KDEV_CLANG_BUILTIN_DIR=\$DIR/opt/llvm/lib/clang/6.0.1/include
+
 cd \$HOME
 
 kdevelop \$@
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic