Fenicsx update dependency and build for main branch (#25864)
* Updates to make it work again for main * Use property Co-authored-by: Chris <cnr12@cam.ac.uk>
This commit is contained in:
parent
18760de972
commit
bce269df13
@ -23,3 +23,9 @@ class FenicsBasix(CMakePackage):
|
||||
depends_on("xtl@0.7.2:")
|
||||
depends_on("xtensor@0.23.10:")
|
||||
depends_on("blas", type=("build", "run"))
|
||||
|
||||
@property
|
||||
def root_cmake_lists_dir(self):
|
||||
if self.spec.satisfies("@main"):
|
||||
return "cpp"
|
||||
return None
|
||||
|
@ -24,7 +24,7 @@ class PyFenicsFfcx(PythonPackage):
|
||||
depends_on('py-cffi', type='run')
|
||||
|
||||
depends_on('py-fenics-ufl@main', type='run', when='@main')
|
||||
depends_on('py-fenics-ufl@2021.1.0', type='run', when='@0.1:')
|
||||
depends_on('py-fenics-ufl@2021.1.0', type='run', when='@0.1.0:0.3.99')
|
||||
|
||||
depends_on('py-fenics-basix@main', type='run', when='@main')
|
||||
depends_on('py-fenics-basix@0.3.0', type='run', when='@0.3.0')
|
||||
|
Loading…
Reference in New Issue
Block a user