fenics-dolfinx: dependency updates (#30919)
* Add pugixml dependency * Dependency updates * Fix Spack Numpy verion * Test more generous NumPy constraint * Fix NumPy requirment
This commit is contained in:
parent
9cc3a2942d
commit
d166b948ce
2 changed files with 6 additions and 3 deletions
|
@ -59,6 +59,7 @@ class FenicsDolfinx(CMakePackage):
|
|||
|
||||
depends_on("slepc", when="+slepc")
|
||||
depends_on("adios2+mpi", when="+adios2")
|
||||
depends_on("pugixml", when="@main")
|
||||
|
||||
depends_on("fenics-ufcx@main", when="@main")
|
||||
depends_on("fenics-ufcx@0.4.2", when="@0.4.1")
|
||||
|
@ -86,6 +87,7 @@ def cmake_args(self):
|
|||
|
||||
if self.spec.satisfies('@0.4.0:'):
|
||||
args += [
|
||||
self.define('DOLFINX_UFCX_PYTHON', False),
|
||||
self.define('DOLFINX_ENABLE_KAHIP', 'partitioners=kahip' in self.spec),
|
||||
self.define('DOLFINX_ENABLE_PARMETIS',
|
||||
'partitioners=parmetis' in self.spec),
|
||||
|
|
|
@ -32,12 +32,12 @@ class PyFenicsDolfinx(PythonPackage):
|
|||
depends_on("fenics-dolfinx@0.3.0", when="@0.3.0")
|
||||
depends_on("fenics-dolfinx@0.2.0", when="@0.2.0")
|
||||
depends_on("fenics-dolfinx@0.1.0", when="@0.1.0")
|
||||
|
||||
depends_on("fenics-basix@main", type=("build", "link"), when="@main")
|
||||
depends_on("fenics-basix@0.4.2", type=("build", "link"), when="@0.4.1")
|
||||
depends_on("fenics-basix@0.3.0", type=("build", "link"), when="@0.3.0")
|
||||
depends_on("fenics-basix@0.2.0", type=("build", "link"), when="@0.2.0")
|
||||
depends_on("fenics-basix@0.1.0", type=("build", "link"), when="@0.1.0")
|
||||
|
||||
depends_on("py-fenics-ffcx@main", type="run", when="@main")
|
||||
depends_on("py-fenics-ffcx@0.4.2", type="run", when="@0.4.1")
|
||||
depends_on("py-fenics-ffcx@0.3.0", type="run", when="@0.3.0")
|
||||
|
@ -47,13 +47,14 @@ class PyFenicsDolfinx(PythonPackage):
|
|||
depends_on("py-fenics-ufl@2022.1.0", type="run", when="@0.4.1")
|
||||
depends_on("py-fenics-ufl@2021.1.0", type="run", when="@0.1:0.3.99")
|
||||
|
||||
depends_on("py-numpy@:1.20.3", type=("build", "run"))
|
||||
depends_on("py-numpy@1.21:", type=("build", "run"), when="@main")
|
||||
depends_on("py-numpy", type=("build", "run"))
|
||||
|
||||
depends_on("py-mpi4py", type=("build", "run"))
|
||||
depends_on("py-petsc4py", type=("build", "run"))
|
||||
depends_on("py-pybind11@2.6.2:", type=("build", "run"))
|
||||
depends_on("xtensor@0.23.10:", type="build")
|
||||
|
||||
depends_on("py-cffi", type="run")
|
||||
depends_on("py-numpy", type="run")
|
||||
|
||||
build_directory = 'python'
|
||||
|
|
Loading…
Reference in a new issue