diff options
author | Andreas Baumbach <healther@users.noreply.github.com> | 2019-02-19 11:30:41 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-02-19 11:30:41 +0100 |
commit | 66bfad8d446c6282b99a0c6d56d63dd0a55c96e4 (patch) | |
tree | 2d7fa3be7e9bf81b9ab75a00b97457ac33167cdb /var | |
parent | 9e3d92692dfe2dec52d747879ee585af259f24e3 (diff) | |
download | spack-66bfad8d446c6282b99a0c6d56d63dd0a55c96e4.tar.gz spack-66bfad8d446c6282b99a0c6d56d63dd0a55c96e4.tar.bz2 spack-66bfad8d446c6282b99a0c6d56d63dd0a55c96e4.tar.xz spack-66bfad8d446c6282b99a0c6d56d63dd0a55c96e4.zip |
cquery: new package (#10636)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/cquery/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cquery/package.py b/var/spack/repos/builtin/packages/cquery/package.py new file mode 100644 index 0000000000..40edd13ce2 --- /dev/null +++ b/var/spack/repos/builtin/packages/cquery/package.py @@ -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 |