Bumping-up miniVite to version 1.1 (#11828)

* Bumping-up miniVite to version 1.1

* Keeping both version of miniVite

* Changed to >=
This commit is contained in:
rvinaybharadwaj 2019-06-24 19:41:01 -06:00 committed by Christoph Junghans
parent 5b3f196bc2
commit fa563f0f55
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -17,6 +17,7 @@ class Minivite(MakefilePackage):
version('develop', branch='master')
version('1.0', tag='v1.0')
version('1.1', tag='v1.1')
variant('openmp', default=True, description='Build with OpenMP support')
variant('opt', default=True, description='Optimization flags')
@ -43,4 +44,7 @@ def build_targets(self):
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('dspl', prefix.bin)
if (self.version >= Version('1.1')):
install('miniVite', prefix.bin)
elif (self.version >= Version('1.0')):
install('dspl', prefix.bin)