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.
This commit is contained in:
Cameron Stanavige 2020-08-09 06:14:44 -07:00 committed by GitHub
parent c6ad321838
commit 7631013975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')