Bug 379293

Summary: Building Umbrello 2.21.90.89e79b8 with optional LLVM fails
Product: [Applications] umbrello Reporter: Steven Zalek <zalek.steven>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 2.22.2 (KDE Applications 17.04.2)

Description Steven Zalek 2017-04-27 17:26:32 UTC
Compiling this build with the optional inclusion of LLVM/Clang fails. The CMake build files indicate that LLVM and Clang are found, but the build fails at about 94% completion due to errors linking with Clang.

I successfully built Umbrello without the optional LLVM/Clang. How does including LLVM/Clang benefit the application?

Thanks,
SZ
Comment 1 Ralf Habacker 2017-05-04 06:19:53 UTC
The llvm test case has been added as starting point for a llvm based c++ parser (see bug 369538) and is there as simple test case for example to be able to see if there are any compiling issues. If you can provide the cmake run and build log we can try to fix it.

If you don't want that use cmake -DBUILD_UNITTESTS=0 to disable compiling unit tests.
Comment 2 Ralf Habacker 2017-05-30 18:37:30 UTC
Git commit 46763682e9fda91681fec507ff5345f234f1aeb7 by Ralf Habacker.
Committed on 30/05/2017 at 18:37.
Pushed by habacker into branch 'Applications/17.04'.

Fix 'Building Umbrello 2.21.90.89e79b8 with optional LLVM fails'.

Enable llvm test case only if clang development package has been
found too because it is not optional.
FIXED-IN:2.22.2 (KDE Applications 17.04.2)

M  +3    -5    unittests/CMakeLists.txt

https://commits.kde.org/umbrello/46763682e9fda91681fec507ff5345f234f1aeb7