rm -rf Release && cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_PREFIX_PATH=/usr/lib/llvm-12 -DLLVM_INCLUDE_DIR=/usr/lib/llvm-12/include -DLLVM_BUILD_INCLUDE_DIR=/usr/include/llvm-12/ -GNinja -H. -BRelease && ninja -C Release && sudo /home/dave/bin/depot_tools/ninja -C Release install
cclspackage on Ubuntu and
coc-cclson Coc but I get this error:
[coc.nvim] Unable to load global extension at /home/ujjwal/.config/coc/extensions/node_modules/coc-ccls: main file ./lib/extension.js not found, you may need to build the project.
libgcc-10-devon Ubuntu (for one project that needed it), all my regular gcc-9 projects get problems like https://github.com/MaskRay/ccls/wiki/FAQ#some-cc-headers-are-not-recognized – how do I tell ccls that I'm on gcc-9? I tried putting the include path into a .ccls but it still fails http://sprunge.us/E4vOOG
apt remove libgcc-10-dev, but that's unfortunately a dep of libgccjit which is a runtime dep of something else :-/)
$ clang -E -v -xc++says
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10so I suppose that's related – can I override that in