exago: fix exago missing on PYTHONPATH when +python
(#40748)
This commit is contained in:
parent
bd1bb7d1ba
commit
7739c54eb5
1 changed files with 4 additions and 0 deletions
|
@ -62,10 +62,14 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage):
|
|||
variant("raja", default=False, description="Enable/Disable RAJA")
|
||||
variant("python", default=True, when="@1.4:", description="Enable/Disable Python bindings")
|
||||
variant("logging", default=True, description="Enable/Disable spdlog based logging")
|
||||
|
||||
conflicts(
|
||||
"+python", when="+ipopt+rocm", msg="Python bindings require -fPIC with Ipopt for rocm."
|
||||
)
|
||||
|
||||
# Adds ExaGO's python wrapper to PYTHONPATH
|
||||
extends("python", when="+python")
|
||||
|
||||
# Solver options
|
||||
variant("hiop", default=False, description="Enable/Disable HiOp")
|
||||
variant("ipopt", default=False, description="Enable/Disable IPOPT")
|
||||
|
|
Loading…
Reference in a new issue