diff options
author | Cameron Stanavige <stanavige1@llnl.gov> | 2020-08-09 06:14:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-09 15:14:44 +0200 |
commit | 7631013975d088d52d80dce723a6545ae1bb7b45 (patch) | |
tree | 3c4914faf4705770906d9a45aee249399ed1bf91 | |
parent | c6ad3218380e2ef974a5d602f311daac187834ae (diff) | |
download | spack-7631013975d088d52d80dce723a6545ae1bb7b45.tar.gz spack-7631013975d088d52d80dce723a6545ae1bb7b45.tar.bz2 spack-7631013975d088d52d80dce723a6545ae1bb7b45.tar.xz spack-7631013975d088d52d80dce723a6545ae1bb7b45.zip |
unifyfs: remove flatcc dependency and add spath (#17913)
FlatCC has been removed from UnifyFS as a dependency on the develop
branch and for future releases.
spath is now an optional dependency for UnifyFS to normalize relative
paths provided by the user.
-rw-r--r-- | var/spack/repos/builtin/packages/unifyfs/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/unifyfs/package.py b/var/spack/repos/builtin/packages/unifyfs/package.py index a2290bfa67..c1038d7c68 100644 --- a/var/spack/repos/builtin/packages/unifyfs/package.py +++ b/var/spack/repos/builtin/packages/unifyfs/package.py @@ -27,6 +27,7 @@ class Unifyfs(AutotoolsPackage): variant('fortran', default='False', description='Build with gfortran support') 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') depends_on('autoconf', type='build') depends_on('automake', type='build') @@ -35,7 +36,7 @@ class Unifyfs(AutotoolsPackage): depends_on('pkgconfig', type='build') # Required dependencies - depends_on('flatcc') + 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') @@ -46,6 +47,7 @@ class Unifyfs(AutotoolsPackage): # Optional dependencies depends_on('hdf5', when='+hdf5') + depends_on('spath', when='@0.9.1:+spath') conflicts('^mercury~bmi') conflicts('^mercury~sm') |