diff options
author | Christoph Conrads <22275833+christoph-conrads@users.noreply.github.com> | 2021-08-20 14:05:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 14:05:21 +0200 |
commit | b124fbb0c8f501f5cc186c970f8c184385df7f80 (patch) | |
tree | 3b2edf439fba8efbf60533c1e9935fdb92301765 | |
parent | 9b239392b152d4ac5671a58af83f9171c6f0106f (diff) | |
download | spack-b124fbb0c8f501f5cc186c970f8c184385df7f80.tar.gz spack-b124fbb0c8f501f5cc186c970f8c184385df7f80.tar.bz2 spack-b124fbb0c8f501f5cc186c970f8c184385df7f80.tar.xz spack-b124fbb0c8f501f5cc186c970f8c184385df7f80.zip |
melissa: new package (#25511)
-rw-r--r-- | var/spack/repos/builtin/packages/melissa/package.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/melissa/package.py b/var/spack/repos/builtin/packages/melissa/package.py new file mode 100644 index 0000000000..5ad68fafe9 --- /dev/null +++ b/var/spack/repos/builtin/packages/melissa/package.py @@ -0,0 +1,41 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Melissa(CMakePackage): + """Melissa is a file-avoiding, adaptive, fault-tolerant and elastic + framework, to run large-scale sensitivity analysis on supercomputers. + """ + + homepage = 'https://gitlab.inria.fr/melissa/melissa' + url = 'https://gitlab.inria.fr/melissa/melissa/-/archive/v1.0/melissa-v1.0.tar.bz2' + git = 'https://gitlab.inria.fr/melissa/melissa.git' + + # attention: Git**Hub**.com accounts + maintainers = ['christoph-conrads', 'raffino'] + + version('master', branch='master') + version('develop', branch='develop') + version('0.7.0', sha256='a801d0b512e31a0750f98cfca80f8338985e06abf9b26e96f7645a022864e41c') + + variant('no_mpi_api', default=False, description="Enable the deprecated no-MPI API") + variant('shared', default=True, description="Build shared libraries") + + depends_on('cmake@3.7.2:', type='build') + depends_on('libzmq@4.1.5:') + depends_on('mpi') + depends_on('pkgconfig', type='build') + depends_on('python@3.5.3:', type=('build', 'run')) + + def cmake_args(self): + args = [ + self.define('BUILD_TESTING', self.run_tests), + self.define_from_variant('BUILD_SHARED_LIBS', 'shared'), + self.define_from_variant('MELISSA_ENABLE_NO_MPI_API', 'no_mpi_api') + ] + + return args |