Bug 379293 - Building Umbrello 2.21.90.89e79b8 with optional LLVM fails
Summary: Building Umbrello 2.21.90.89e79b8 with optional LLVM fails
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 17:26 UTC by Steven Zalek
Modified: 2017-05-30 18:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.22.2 (KDE Applications 17.04.2)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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