summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorCameron Stanavige <stanavige1@llnl.gov>2020-12-24 21:46:11 -0800
committerGitHub <noreply@github.com>2020-12-24 23:46:11 -0600
commit52e03b55286940591357a5743d0db800c9cc4c19 (patch)
tree56682f49dd681188b233a4edd7b5e5ecb68ecb7e /var
parent5e0376bb3b68ee871ff27ac52a7d701c36f8739b (diff)
downloadspack-52e03b55286940591357a5743d0db800c9cc4c19.tar.gz
spack-52e03b55286940591357a5743d0db800c9cc4c19.tar.bz2
spack-52e03b55286940591357a5743d0db800c9cc4c19.tar.xz
spack-52e03b55286940591357a5743d0db800c9cc4c19.zip
unifyfs: dependency changes and new release (#20271)
This updates the UnifyFS packages to account for the latest v0.9.1 release. Updates required and optional dependencies for the respective releases. Locks margo and mercury dependencies at specific versions while integration with their latest versions is still in progress.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/unifyfs/package.py18
1 files changed, 13 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/unifyfs/package.py b/var/spack/repos/builtin/packages/unifyfs/package.py
index c1038d7c68..c400f4dba9 100644
--- a/var/spack/repos/builtin/packages/unifyfs/package.py
+++ b/var/spack/repos/builtin/packages/unifyfs/package.py
@@ -20,11 +20,13 @@ class Unifyfs(AutotoolsPackage):
maintainers = ['CamStan']
version('develop', branch='dev')
+ version('0.9.1', sha256='2498a859cfa4961356fdf5c4c17e3afc3de7e034ad013b8c7145a622ef6199a0')
version('0.9.0', sha256='e6c73e22ef1c23f3141646aa17058b69c1c4e526886771f8fe982da924265b0f')
variant('auto-mount', default='True', description='Enable automatic mount/unmount in MPI_Init/Finalize')
variant('hdf5', default='False', description='Build with parallel HDF5 (install with `^hdf5~mpi` for serial)')
variant('fortran', default='False', description='Build with gfortran support')
+ variant('mdhim', default='False', description='Enable MDHIM build options')
variant('pmi', default='False', description='Enable PMI2 build options')
variant('pmix', default='False', description='Enable PMIx build options')
variant('spath', default='True', description='Use spath library to normalize relative paths')
@@ -36,19 +38,22 @@ class Unifyfs(AutotoolsPackage):
depends_on('pkgconfig', type='build')
# Required dependencies
- depends_on('flatcc', when='@:0.9.0')
- depends_on('gotcha@0.0.2', when='@:0.9.0')
depends_on('gotcha@1.0.3:', when='@0.9.1:')
- depends_on('leveldb')
- depends_on('margo')
- depends_on('mercury+bmi+sm')
+ depends_on('margo@0.4.3')
+ depends_on('mercury@1.0.1+bmi+sm')
depends_on('mpi')
depends_on('openssl')
# Optional dependencies
depends_on('hdf5', when='+hdf5')
+ depends_on('leveldb', when='@0.9.1:+mdhim')
depends_on('spath', when='@0.9.1:+spath')
+ # Required dependencies for older versions
+ depends_on('flatcc', when='@:0.9.0')
+ depends_on('gotcha@0.0.2', when='@:0.9.0')
+ depends_on('leveldb', when='@:0.9.0')
+
conflicts('^mercury~bmi')
conflicts('^mercury~sm')
# Known compatibility issues with ifort and xlf. Fixes coming.
@@ -94,6 +99,9 @@ class Unifyfs(AutotoolsPackage):
if '+fortran' in spec:
args.append('--enable-fortran')
+ if '+mdhim' in spec:
+ args.append('--enable-mdhim')
+
if '+pmi' in spec:
args.append('--enable-pmi')