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:
parent
5b3f196bc2
commit
fa563f0f55
BIN
var/spack/repos/builtin/packages/ember/#package.pyc#
Normal file
BIN
var/spack/repos/builtin/packages/ember/#package.pyc#
Normal file
Binary file not shown.
@ -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)
|
||||
if (self.version >= Version('1.1')):
|
||||
install('miniVite', prefix.bin)
|
||||
elif (self.version >= Version('1.0')):
|
||||
install('dspl', prefix.bin)
|
||||
|
Loading…
Reference in New Issue
Block a user