configured with wrong clang resource directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ccls (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In debian/rules, it tries to determine the clang version by parsing /usr/bin/clang.
CLANG_VER := $(shell realpath /usr/bin/clang | sed -e 's/.*llvm-
However the Ubuntu patch uses a specific clang version, which missing /usr/bin/clang symlink, causing the script failed to work.
As seen from the build log,
dh_auto_configure -- -DCCLS_
The clang resource dir is wrong.
I don't how to write the debian/rules better. If you have ideas, please tell me, and I will include it in Debian.
For this specific case for Ubuntu, you can set CLANG_VER = 8 in debian/rules.
If you want to build ccls with default clang, which is clang-9, just add lldb to build-depends. Then ccls can build without problem. The reason is https:/
Hello, thanks twice!
I added the CLANG_VER hack to fix the build failure, and I'll take care of llvm-toolchain-9 in Debian later!
Keep up the good work!