Package Details: cquery-git 1942.3ac1ff24-2

Git Clone URL: https://aur.archlinux.org/cquery-git.git (read-only)
Package Base: cquery-git
Description: Low-latency vscode language server for large C++ code-bases, powered by libclang.
Upstream URL: https://github.com/cquery-project/cquery/
Keywords: c++ language-server libclang vscode
Licenses: MIT
Submitter: htfy96
Maintainer: htfy96 (MaskRay, SilverRainZ)
Last Packager: htfy96
Votes: 6
Popularity: 0.590549
First Submitted: 2017-11-18 06:11
Last Updated: 2018-08-03 08:25

Latest Comments

1 2 3 Next › Last »

htfy96 commented on 2018-08-03 07:32

@lulitao1997 Thanks. I've checked-in your patch and bumped the version.

lulitao1997 commented on 2018-08-03 06:57

I create a new PKGBUILD that works with cmake build system.

# Maintainer: Vic Luo <vicluo96 at gmail.com>
# Contributor: Litao Lu <lulitao1997 at gmail.com>

pkgname=cquery-git
_pkgname=cquery
pkgver=1942.3ac1ff24
pkgrel=1
pkgdesc='Low-latency vscode language server for large C++ code-bases, powered by libclang.'
arch=('x86_64')
url='https://github.com/cquery-project/cquery/'
license=('MIT')
depends=('clang')
makedepends=('cmake')

source=('git+https://github.com/cquery-project/cquery.git')
md5sums=(
    'SKIP'
)

pkgver() {
    cd $_pkgname
    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

build() {
    cd $_pkgname
    mkdir build
    cd build
    cmake -DSYSTEM_CLANG=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
    make -j
}

# check() {
#     cd $_pkgname
#     yes | ./build/cquery --test-unit --test-index --clang-sanity-check
# }

package() {
    cd $_pkgname/build
    make DESTDIR="$pkgdir/" install
}

zwindl commented on 2018-07-21 14:09

The current PKGBUILD will cause a issue like this https://github.com/cquery-project/cquery/issues/734 due to the author's comment, the build commands should be changed to cmake instead of waf.

cormacc commented on 2018-04-09 10:35

Tried enabling source file formatting support by appending '--use-clang-cxx' to the waf configure arguments. Builds fine, but get the following when I try to run cquery:

: CommandLine Error: Option 'disable-symbolication' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options

That familiar to anyone? Installed versions of relevent packages are: clang 6.0.0-1 llvm 6.0.0-4 llvm-libs 6.0.0-4

MaskRay commented on 2018-01-26 06:49

@SilverRainZ done

SilverRainZ commented on 2018-01-25 03:14

Upstream has changed to: https://github.com/cquery-project/cquery.git

htfy96 commented on 2018-01-16 06:55

I have added @MaskRay as a maintainer.

MaskRay commented on 2017-12-29 18:45

https://github.com/jacobdufault/cquery/commit/84d88a33ca795b5748662522b1d4913e92a61768 adds -std=c++11 when CXXFLAGS is defined without -std= options. https://github.com/jacobdufault/cquery/commit/4a6f0d331b683040583ec41824fe7ca4289b17e6 upgrades to --bundled-clang=5.0.1 which makes check() pass.

No change is required to build cquery-git now.

SilverRainZ commented on 2017-12-28 03:36

  1. Missing make dependency llvm (require llvm-config)
  2. /etc/makepkg.conf has specified a default CXXFALGS, therefore wscript will use it, plesase add CXXFLAGS="$CXXFLAGS -std=c++11" before python waf configure.

MaskRay commented on 2017-12-27 18:57

@petronny Adding --check-cxx-compiler=g++ to ./waf configure command line may help