diff options
author | Tom Scogland <scogland1@llnl.gov> | 2015-07-29 14:21:03 -0700 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2015-07-29 14:21:03 -0700 |
commit | 016eef6a165f8cee2fa5b249f09d964e2521ba94 (patch) | |
tree | 8adfcc0fabd6ccca61ffc1c154149a82ac417c2a /var | |
parent | 27ca697b43458c76fd7e079c2a6395fbb5b6126e (diff) | |
download | spack-016eef6a165f8cee2fa5b249f09d964e2521ba94.tar.gz spack-016eef6a165f8cee2fa5b249f09d964e2521ba94.tar.bz2 spack-016eef6a165f8cee2fa5b249f09d964e2521ba94.tar.xz spack-016eef6a165f8cee2fa5b249f09d964e2521ba94.zip |
adding the bear compilation database generator
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/bear/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/packages/bear/package.py b/var/spack/packages/bear/package.py new file mode 100644 index 0000000000..0d4436fccc --- /dev/null +++ b/var/spack/packages/bear/package.py @@ -0,0 +1,17 @@ +from spack import * + +class Bear(Package): + """Bear is a tool that generates a compilation database for clang tooling from non-cmake build systems.""" + homepage = "https://github.com/rizsotto/Bear" + url = "https://github.com/rizsotto/Bear/archive/2.0.4.tar.gz" + + version('2.0.4', 'fd8afb5e8e18f8737ba06f90bd77d011') + + depends_on("cmake") + depends_on("python") + + def install(self, spec, prefix): + cmake('.', *std_cmake_args) + + make("all") + make("install") |