unifyfs: add version 0.9.2 (#22390)
UnifyFS has been integrated with updated versions of its mochi-margo dependency (and mochi-margo's mercury and libfabric dependencies). This removes support for version 0.9.0
This commit is contained in:
parent
febeca2b05
commit
44d995b6d5
@ -1,25 +0,0 @@
|
|||||||
diff --git a/client/src/pmpi_wrappers.c b/client/src/pmpi_wrappers.c
|
|
||||||
index ac86d39..38755f5 100644
|
|
||||||
--- a/client/src/pmpi_wrappers.c
|
|
||||||
+++ b/client/src/pmpi_wrappers.c
|
|
||||||
@@ -14,7 +14,6 @@
|
|
||||||
|
|
||||||
#include "pmpi_wrappers.h"
|
|
||||||
#include "unifyfs.h"
|
|
||||||
-#include <mpi.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int unifyfs_mpi_init(int* argc, char*** argv)
|
|
||||||
diff --git a/client/src/pmpi_wrappers.h b/client/src/pmpi_wrappers.h
|
|
||||||
index b90057c..995e44b 100644
|
|
||||||
--- a/client/src/pmpi_wrappers.h
|
|
||||||
+++ b/client/src/pmpi_wrappers.h
|
|
||||||
@@ -15,6 +15,8 @@
|
|
||||||
#ifndef UNIFYFS_PMPI_WRAPPERS_H
|
|
||||||
#define UNIFYFS_PMPI_WRAPPERS_H
|
|
||||||
|
|
||||||
+#include <mpi.h>
|
|
||||||
+
|
|
||||||
/* MPI_Init PMPI wrapper */
|
|
||||||
int unifyfs_mpi_init(int* argc, char*** argv);
|
|
||||||
int MPI_Init(int* argc, char*** argv);
|
|
@ -16,55 +16,47 @@ class Unifyfs(AutotoolsPackage):
|
|||||||
|
|
||||||
homepage = "https://github.com/LLNL/UnifyFS"
|
homepage = "https://github.com/LLNL/UnifyFS"
|
||||||
git = "https://github.com/LLNL/UnifyFS.git"
|
git = "https://github.com/LLNL/UnifyFS.git"
|
||||||
url = "https://github.com/LLNL/UnifyFS/releases/download/v0.9.0/unifyfs-0.9.0.tar.gz"
|
url = "https://github.com/LLNL/UnifyFS/releases/download/v0.9.2/unifyfs-0.9.2.tar.gz"
|
||||||
maintainers = ['CamStan']
|
maintainers = ['CamStan']
|
||||||
|
|
||||||
version('develop', branch='dev')
|
version('develop', branch='dev')
|
||||||
|
version('0.9.2', sha256='7046625dc0677535f5d960187cb2e2d58a6f8cfb4dc6a3604f825257eb0891aa')
|
||||||
version('0.9.1', sha256='2498a859cfa4961356fdf5c4c17e3afc3de7e034ad013b8c7145a622ef6199a0')
|
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('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('hdf5', default='False', description='Build with parallel HDF5 (install with `^hdf5~mpi` for serial)')
|
||||||
variant('fortran', default='False', description='Build with gfortran support')
|
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('pmi', default='False', description='Enable PMI2 build options')
|
||||||
variant('pmix', default='False', description='Enable PMIx build options')
|
variant('pmix', default='False', description='Enable PMIx build options')
|
||||||
variant('spath', default='True', description='Use spath library to normalize relative paths')
|
variant('spath', default='True', description='Use spath library to normalize relative paths')
|
||||||
|
|
||||||
depends_on('autoconf', type='build')
|
depends_on('autoconf', type='build')
|
||||||
depends_on('automake', type='build')
|
depends_on('automake', type='build')
|
||||||
depends_on('libtool', type='build')
|
depends_on('automake@1.15:', type='build', when='@0.9.2:')
|
||||||
depends_on('m4', type='build')
|
depends_on('libtool', type='build')
|
||||||
depends_on('pkgconfig', type='build')
|
depends_on('m4', type='build')
|
||||||
|
depends_on('pkgconfig', type='build')
|
||||||
|
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
depends_on('gotcha@1.0.3:', when='@0.9.1:')
|
depends_on('gotcha@1.0.3:')
|
||||||
depends_on('mochi-margo@0.4.3')
|
depends_on('mercury@1.0.1+bmi', when='@:0.9.1')
|
||||||
depends_on('mercury@1.0.1+bmi+sm')
|
depends_on('mochi-margo@0.4.3', when='@:0.9.1')
|
||||||
|
depends_on('mochi-margo', when='@0.9.2:')
|
||||||
depends_on('mpi')
|
depends_on('mpi')
|
||||||
depends_on('openssl')
|
depends_on('openssl')
|
||||||
|
|
||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
depends_on('hdf5', when='+hdf5')
|
depends_on('hdf5', when='+hdf5')
|
||||||
depends_on('leveldb', when='@0.9.1:+mdhim')
|
depends_on('libfabric fabrics=rxm,sockets,tcp', when="^mercury@2:+ofi")
|
||||||
depends_on('spath', when='@0.9.1:+spath')
|
depends_on('spath~mpi', when='+spath')
|
||||||
|
|
||||||
# Required dependencies for older versions
|
conflicts('^mercury~bmi~ofi')
|
||||||
depends_on('flatcc', when='@:0.9.0')
|
|
||||||
depends_on('gotcha@0.0.2', when='@:0.9.0')
|
|
||||||
depends_on('leveldb', when='@:0.9.0')
|
|
||||||
|
|
||||||
patch('unifyfs-sysio.c.patch', when='@0.9.1')
|
|
||||||
|
|
||||||
conflicts('^mercury~bmi')
|
|
||||||
conflicts('^mercury~sm')
|
conflicts('^mercury~sm')
|
||||||
# Known compatibility issues with ifort and xlf. Fixes coming.
|
# Known compatibility issues with ifort and xlf. Fixes coming.
|
||||||
conflicts('%intel', when='+fortran')
|
conflicts('%intel', when='+fortran')
|
||||||
conflicts('%xl', when='+fortran')
|
conflicts('%xl', when='+fortran')
|
||||||
|
|
||||||
# Fix broken --enable-mpi-mount config option for version 0.9.0
|
patch('unifyfs-sysio.c.patch', when='@0.9.1')
|
||||||
# See https://github.com/LLNL/UnifyFS/issues/467
|
|
||||||
patch('auto-mount.patch', when='@0.9.0')
|
|
||||||
|
|
||||||
# Parallel disabled to prevent tests from being run out-of-order when
|
# Parallel disabled to prevent tests from being run out-of-order when
|
||||||
# installed with the --test={root, all} option.
|
# installed with the --test={root, all} option.
|
||||||
@ -101,9 +93,6 @@ def hdf5_compiler_path(name):
|
|||||||
if '+fortran' in spec:
|
if '+fortran' in spec:
|
||||||
args.append('--enable-fortran')
|
args.append('--enable-fortran')
|
||||||
|
|
||||||
if '+mdhim' in spec:
|
|
||||||
args.append('--enable-mdhim')
|
|
||||||
|
|
||||||
if '+pmi' in spec:
|
if '+pmi' in spec:
|
||||||
args.append('--enable-pmi')
|
args.append('--enable-pmi')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user