fix to compiliation error with fenics in pre 2019 versions and support for 2016.2.0 version of fiat added (#21708)

This commit is contained in:
emai-imcs 2021-02-18 04:44:12 +01:00 committed by GitHub
parent 827262df89
commit 0082750f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,11 @@ class PyFenicsFiat(PythonPackage):
version('2017.2.0', sha256='e4d3ffc86a0a717b3f17b9bb2d922214c342be27e5bdfbe50f110030bfff9729')
version('2017.1.0.post1', sha256='1784fe1cb9479ca7cd85f63b0afa6e07634feec8d8e82fa8be4c480649cb9621')
version('2017.1.0', sha256='d4288401ad16c4598720f9db0810a522f7f0eadad35d8211bac7120bce5fde94')
version('2016.2.0', tag='fiat-2016.2.0')
depends_on('python@3:', type=('build', 'run'))
depends_on('py-setuptools', type="build")
depends_on('py-numpy', type=("build", "run"))
depends_on('py-sympy', type=("build", "run"))
depends_on('py-sympy', type=("build", "run"), when='@2019.1.0')
# avoid compilation error of dolfin (ffc fails with latest sympy)
depends_on('py-sympy@1.0', type=("build", "run"), when='@:2018.1.0')