petsc: simplify dependencies with hypre (#36573)
* petsc: simplify dependencies with hypre * add propagation of `complex` variant to hypre
This commit is contained in:
		| @@ -248,24 +248,16 @@ def check_fortran_compiler(self): | |||||||
|     # Also PETSc prefer to build it without internal superlu, likely due to |     # Also PETSc prefer to build it without internal superlu, likely due to | ||||||
|     # conflict in headers see |     # conflict in headers see | ||||||
|     # https://bitbucket.org/petsc/petsc/src/90564b43f6b05485163c147b464b5d6d28cde3ef/config/BuildSystem/config/packages/hypre.py |     # https://bitbucket.org/petsc/petsc/src/90564b43f6b05485163c147b464b5d6d28cde3ef/config/BuildSystem/config/packages/hypre.py | ||||||
|     depends_on("hypre@:2.13+mpi~internal-superlu~int64", when="@:3.8+hypre+mpi~complex~int64") |     depends_on("hypre@2.14:2.18.2~internal-superlu", when="@3.11:3.13+hypre") | ||||||
|     depends_on("hypre@:2.13+mpi~internal-superlu+int64", when="@:3.8+hypre+mpi~complex+int64") |     depends_on("hypre@2.14:2.22.0~internal-superlu", when="@3.14:3.15+hypre") | ||||||
|     depends_on( |     depends_on("hypre@2.14:~internal-superlu", when="@3.16:+hypre") | ||||||
|         "hypre@2.14:2.18.2+mpi~internal-superlu~int64", when="@3.9:3.13+hypre+mpi~complex~int64" |     depends_on("hypre@develop~internal-superlu", when="@main+hypre") | ||||||
|     ) |     depends_on("hypre+complex", when="+hypre+complex") | ||||||
|     depends_on( |     depends_on("hypre~complex", when="+hypre~complex") | ||||||
|         "hypre@2.14:2.18.2+mpi~internal-superlu+int64", when="@3.9:3.13+hypre+mpi~complex+int64" |     depends_on("hypre+int64", when="+hypre+int64") | ||||||
|     ) |     depends_on("hypre~int64", when="+hypre~int64") | ||||||
|     depends_on( |     depends_on("hypre+mpi", when="+hypre+mpi") | ||||||
|         "hypre@2.14:2.22.0+mpi~internal-superlu~int64", when="@3.14:3.15+hypre+mpi~complex~int64" | 
 | ||||||
|     ) |  | ||||||
|     depends_on( |  | ||||||
|         "hypre@2.14:2.22.0+mpi~internal-superlu+int64", when="@3.14:3.15+hypre+mpi~complex+int64" |  | ||||||
|     ) |  | ||||||
|     depends_on("hypre@2.14:+mpi~internal-superlu~int64", when="@3.16:+hypre+mpi~complex~int64") |  | ||||||
|     depends_on("hypre@2.14:+mpi~internal-superlu+int64", when="@3.16:+hypre+mpi~complex+int64") |  | ||||||
|     depends_on("hypre@develop+mpi~internal-superlu+int64", when="@main+hypre+mpi~complex+int64") |  | ||||||
|     depends_on("hypre@develop+mpi~internal-superlu~int64", when="@main+hypre+mpi~complex~int64") |  | ||||||
|     depends_on("superlu-dist@:4.3~int64", when="@3.4.4:3.6.4+superlu-dist+mpi~int64") |     depends_on("superlu-dist@:4.3~int64", when="@3.4.4:3.6.4+superlu-dist+mpi~int64") | ||||||
|     depends_on("superlu-dist@:4.3+int64", when="@3.4.4:3.6.4+superlu-dist+mpi+int64") |     depends_on("superlu-dist@:4.3+int64", when="@3.4.4:3.6.4+superlu-dist+mpi+int64") | ||||||
|     depends_on("superlu-dist@5.0.0:5.1.3~int64", when="@3.7.0:3.7+superlu-dist+mpi~int64") |     depends_on("superlu-dist@5.0.0:5.1.3~int64", when="@3.7.0:3.7+superlu-dist+mpi~int64") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tristan Carel
					Tristan Carel