diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-07-25 18:34:43 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-07-25 16:34:43 -0700 |
commit | 07aec4366fa8926ee896fdb2f0c5a68dad3267b5 (patch) | |
tree | 82e46050aa55b182f4b4ae695ebd0b43865f62ef /var/spack/repos/builtin/packages/cbtf-argonavis | |
parent | 4b996e9f499e801db4ce211be79ce56d2ce75678 (diff) | |
download | spack-07aec4366fa8926ee896fdb2f0c5a68dad3267b5.tar.gz spack-07aec4366fa8926ee896fdb2f0c5a68dad3267b5.tar.bz2 spack-07aec4366fa8926ee896fdb2f0c5a68dad3267b5.tar.xz spack-07aec4366fa8926ee896fdb2f0c5a68dad3267b5.zip |
Add universal build_type variant to CMakePackage (#4797)
* Add universal build_type variant to CMakePackage
* Override build_type in some packages with different possible values
* Remove reference to no longer existent debug variant
* Update CBTF packages with new build_type variant
* Keep note on build size of LLVM
Diffstat (limited to 'var/spack/repos/builtin/packages/cbtf-argonavis')
-rw-r--r-- | var/spack/repos/builtin/packages/cbtf-argonavis/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/cbtf-argonavis/package.py b/var/spack/repos/builtin/packages/cbtf-argonavis/package.py index 2c1c663639..a13d79c953 100644 --- a/var/spack/repos/builtin/packages/cbtf-argonavis/package.py +++ b/var/spack/repos/builtin/packages/cbtf-argonavis/package.py @@ -53,6 +53,9 @@ class CbtfArgonavis(CMakePackage): version('1.8', branch='master', git='https://github.com/OpenSpeedShop/cbtf-argonavis.git') + variant('build_type', default='None', values=('None'), + description='CMake build type') + depends_on("cmake@3.0.2:", type='build') depends_on("boost@1.50.0:1.59.0") depends_on("papi") @@ -65,9 +68,6 @@ class CbtfArgonavis(CMakePackage): build_directory = 'build_cbtf_argonavis' - def build_type(self): - return 'None' - def cmake_args(self): spec = self.spec compile_flags = "-O2 -g" |