[Webkit-unassigned] [Bug 151559] [CMake] Do not use LLVM static libraries for FTL JIT
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 28 16:40:22 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151559
Michael Catanzaro <mcatanzaro at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[CMake] Confusing error |[CMake] Do not use LLVM
|message if LLVM static |static libraries for FTL
|libraries are not installed |JIT
Severity|Normal |Blocker
Component|WebKit Gtk |JavaScriptCore
--- Comment #5 from Michael Catanzaro <mcatanzaro at igalia.com> ---
OK, my vote is to either fix this or disable FTL again before 2.12. Using static libs is not considered acceptable on Linux, and it's causing build problems for openSUSE and Gentoo, which don't have LLVM static libs at all; no doubt it will be problematic for other distros too.
openSUSE came up with a rather innovative solution [1] to use -DLLVM_CONFIG_EXE at cmake time to pointing cmake to a script that wraps llvm-config like so:
#!/bin/bash
/usr/bin/llvm-config $1 |sed "s,\\.a,\\.so,g"
Yuck, but their package is reportedly working without issues, so I doubt the static libs were ever really needed. It would be better to use a similar wrapper around llvm-config to handle this automagically than to continue using static libs.
[1] https://build.opensuse.org/package/rdiff/GNOME:Next/webkit2gtk3?opackage=webkit2gtk3&oproject=GNOME:Factory&rev=87
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151229/6fa7ce98/attachment.html>
More information about the webkit-unassigned
mailing list