cquery: new package (#10636)
This commit is contained in:
parent
9e3d92692d
commit
66bfad8d44
24
var/spack/repos/builtin/packages/cquery/package.py
Normal file
24
var/spack/repos/builtin/packages/cquery/package.py
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class Cquery(CMakePackage):
|
||||
"""a C++ header-only library for Nearest Neighbor (NN) search wih KD-trees.
|
||||
"""
|
||||
|
||||
homepage = "https://github.com/cquery-project/cquery"
|
||||
url = "https://github.com/cquery-project/cquery/archive/v20180718.tar.gz"
|
||||
|
||||
version('v20180823', commit='70c755b2e390d3edfb594a84a7531beb26b2bc07',
|
||||
submodules=True, git='https://github.com/cquery-project/cquery')
|
||||
|
||||
depends_on('llvm')
|
||||
|
||||
def cmake_args(self):
|
||||
args = ['-DCMAKE_EXPORT_COMPILE_COMMANDS=YES',
|
||||
'-DSYSTEM_CLANG=ON']
|
||||
return args
|
Loading…
Reference in New Issue
Block a user