diff options
author | emai-imcs <edwin.mai@unibw.de> | 2021-02-18 04:44:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 21:44:12 -0600 |
commit | 0082750f86ca090296e85857a0c51884f8acad78 (patch) | |
tree | 8029bcb0eb1444203784c4939b76981fb6c88a5c | |
parent | 827262df895983ac9160868c8c08484e92b2416b (diff) | |
download | spack-0082750f86ca090296e85857a0c51884f8acad78.tar.gz spack-0082750f86ca090296e85857a0c51884f8acad78.tar.bz2 spack-0082750f86ca090296e85857a0c51884f8acad78.tar.xz spack-0082750f86ca090296e85857a0c51884f8acad78.zip |
fix to compiliation error with fenics in pre 2019 versions and support for 2016.2.0 version of fiat added (#21708)
-rw-r--r-- | var/spack/repos/builtin/packages/py-fenics-fiat/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-fenics-fiat/package.py b/var/spack/repos/builtin/packages/py-fenics-fiat/package.py index 5b4b199afa..135565888c 100644 --- a/var/spack/repos/builtin/packages/py-fenics-fiat/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-fiat/package.py @@ -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') |