blob: d89759891b8e0af833edaa8adb4d96bdb1149643 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2021 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 Rtags(CMakePackage):
"""RTags is a client/server application that indexes C/C++ code"""
homepage = "https://github.com/Andersbakken/rtags/"
url = "https://andersbakken.github.io/rtags-releases/rtags-2.17.tar.gz"
version('2.20', sha256='dceab009194bcfa4265950dac16832bae7883e95d3bc41b215e90bc888db9cb1')
version('2.17', sha256='cde8882aceb09d65690007e214cc1979e0105842beb7747d49f79e33ed37d383')
depends_on("llvm@3.3: +clang")
depends_on("zlib")
depends_on("openssl")
depends_on("lua@5.3:")
depends_on("bash-completion")
depends_on("pkgconfig", type='build')
patch("add_string_iterator_erase_compile_check.patch", when='@2.12')
def cmake_args(self):
args = ['-DCMAKE_EXPORT_COMPILE_COMMANDS=1',
'-DRTAGS_NO_ELISP_FILES=1',
]
return args
|