summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorNils Leif Fischer <nils.fischer@aei.mpg.de>2022-01-17 09:45:34 +0100
committerGitHub <noreply@github.com>2022-01-17 09:45:34 +0100
commit624b3a00ff4ebf6474fbcc8b6c968dcfa628435c (patch)
tree9e0a9aedab0e0a1fbca6da07955d0748608da458 /var
parentb93ff6fdfff853d515f1695ef25761166ef448b8 (diff)
downloadspack-624b3a00ff4ebf6474fbcc8b6c968dcfa628435c.tar.gz
spack-624b3a00ff4ebf6474fbcc8b6c968dcfa628435c.tar.bz2
spack-624b3a00ff4ebf6474fbcc8b6c968dcfa628435c.tar.xz
spack-624b3a00ff4ebf6474fbcc8b6c968dcfa628435c.zip
brigand: only build tests when requested (#28228)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/brigand/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/brigand/package.py b/var/spack/repos/builtin/packages/brigand/package.py
index d1f33d5706..eeda620d8b 100644
--- a/var/spack/repos/builtin/packages/brigand/package.py
+++ b/var/spack/repos/builtin/packages/brigand/package.py
@@ -14,8 +14,16 @@ class Brigand(CMakePackage):
url = "https://github.com/edouarda/brigand/archive/1.0.0.tar.gz"
git = "https://github.com/edouarda/brigand.git"
+ maintainers = ['nilsleiffischer']
+
version('master', branch='master')
version('1.3.0', sha256='2468107c5b9ab0b56d84797dfc6636d0aae0507ae9cd6cb1acc1de85e5787acd')
version('1.2.0', sha256='4287fa7278cc000a63e90f1a1b903952b7f606b1a3cf95c23a422d2fe96ca50d')
version('1.1.0', sha256='afdcc6909ebff6994269d3039c31698c2b511a70280072f73382b26855221f64')
version('1.0.0', sha256='8daf7686ff39792f851ef1977323808b80aab31c5f38ef0ba4e6a8faae491f8d')
+
+ def cmake_args(self):
+ args = [
+ self.define('BUILD_TESTING', self.run_tests)
+ ]
+ return args