Package Details: ccls-git 20200615-1

Git Clone URL: https://aur.archlinux.org/ccls-git.git (read-only, click to copy)
Package Base: ccls-git
Description: C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting
Upstream URL: https://github.com/MaskRay/ccls
Licenses: Apache
Submitter: MaskRay
Maintainer: MaskRay (SilverRainZ, lilac)
Last Packager: SilverRainZ
Votes: 12
Popularity: 0.000001
First Submitted: 2018-04-08 16:33 (UTC)
Last Updated: 2020-06-26 03:58 (UTC)

Latest Comments

t_thomas commented on 2020-12-27 21:35 (UTC)

was this package deprecated because it was moved to --> https://archlinux.org/packages/community/x86_64/ccls/ ?

phush0 commented on 2020-06-15 08:08 (UTC)

changes to be made

prepare() {
  cd $_pkgname
  git submodule update --init
}

and

  cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=on -DUSE_SYSTEM_RAPIDJSON=off

flatwhatson commented on 2020-04-20 02:17 (UTC) (edited on 2020-04-20 02:17 (UTC) by flatwhatson)

This package builds if you set the CLANG_LINK_CLANG_DYLIB cmake flag to force use of clang's dynamic library:

cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=on

dpriedel commented on 2020-04-19 14:26 (UTC)

Hi

ccls-git no longer builds against the latest clang10 from arch. They have stopped building shared libraries for the clang tools thus the link step fails.

see bug report FS#66283 - [clang] clang-10 package does not have libclang

Thanks !!

SilverRainZ commented on 2020-03-19 15:17 (UTC)

@kasei, thank you, updated.

kasei commented on 2020-03-19 06:49 (UTC)

rapidjson is a template library, so I think it should be a make dependency?

SilverRainZ commented on 2019-04-12 06:50 (UTC)

@ashwinkj Thanks for report, fixed.

ashwinkj commented on 2019-04-08 21:28 (UTC) (edited on 2019-04-08 21:28 (UTC) by ashwinkj)

After updating to Clang/LLVM 8, the indexing crashes when building with GCC. Modifying the build() in PKGBUILD to use clang++ fixes this for me. For anyone having the same issue, the exact change was

cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++

flatwhatson commented on 2019-01-29 23:34 (UTC)

The pkgver in the latest PKGBUILD is ahead of the actual HEAD, so this package is always detected as out of date by package managers (eg. pikaur).

flatwhatson commented on 2019-01-25 00:18 (UTC)

Please bump the pkgrel so that everyone gets the update. It's possible someone (like me) had already built ccls-git-1825.a5f600a7-1 with the old PKGBUILD, and won't get the fix because the version number hasn't changed.

MaskRay commented on 2018-08-23 22:39 (UTC) (edited on 2018-08-23 22:40 (UTC) by MaskRay)

ccls is a C++ project, thus I believe arch shouldn't be any

Use arch=('x86_64') as what extra/clang extra/llvm uses?

The SIGSEGV issue has been identified and fixed. aur/ccls-git should not use -fno-rtti as extra/clang clang/llvm are configured with -DLLVM_ENABLE_RTTI=ON

caiye commented on 2018-08-20 08:39 (UTC)

ccls is a C++ project, thus I believe arch shouldn't be any

MaskRay commented on 2018-06-09 00:21 (UTC) (edited on 2018-06-09 00:22 (UTC) by MaskRay)

ccls-git depends on extra/clang 6.0.0-1 which is currently broken.

You will see the following in --log-file=/tmp/cc.log when indexing files:

  libclang: crash detected during parsing:

Currently the recommended way is to link against bundled clang+llvm downloaded from releases.llvm.org (see https://github.com/MaskRay/ccls/wiki/Getting-started)

cmake -H. -Brelease
cmake --build release

zsrkmyn commented on 2018-05-10 15:21 (UTC)

It seems that we should specify CXX=clang++ to use clang++ to compile the codes.