Bug#862328: Bug scope shrinking
Kim Gräsman
kim.grasman at gmail.com
Sun May 13 11:13:42 BST 2018
Hi all,
I think the most critical problem reported by Sylvain up-thread is
mostly solved, and I can't quite judge the severity of the rest:
> 1- Dependencies
>
> I think that ClangConfig.cmake (and the symlinks,... described above) and its
> two sibling files should be provided by libclang-x.y-dev not by clang-x.y.
This would be nice; I'm currently installing the Clang compiler just
to get at the CMake files required to build it. That seems backwards.
I haven't really gotten my head around the dependency cross-wiring
described by Sylvain, but maybe that needs to be solved first.
> 2- Fixing find_package(Clang)
This appears to be solved in the packaging as part of the fix for #890514. Yay!
> 3- Fixing CLANG_INSTALL_PREFIX
>
> Apply the attached patch (fix-cmake-clang-confix.patch based on the 5.0
> snapshot) to ClangConfig.cmake in the clang sources to fix the prefix location
As far as I can tell, this is also solved now --
CLANG_INSTALL_PREFIX=/usr/lib/llvm-7 on my system.
> 4- Fixing clang executable name
>
> The targets files expect the clang executable to be named and located in
> /usr/lib/llvm-x.y/bin/clang-x.y but the rules file (line 374) strips its
> version suffixes.
I don't know the status/relevance of this.
Maybe there should be new, distinct bugs for these problems?
- Kim
More information about the Pkg-llvm-team
mailing list