exago: fix exago missing on PYTHONPATH when +python (#40748)
				
					
				
			This commit is contained in:
		 Cameron Rutherford
					Cameron Rutherford
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							bd1bb7d1ba
						
					
				
				
					commit
					7739c54eb5
				
			| @@ -62,10 +62,14 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage): | |||||||
|     variant("raja", default=False, description="Enable/Disable RAJA") |     variant("raja", default=False, description="Enable/Disable RAJA") | ||||||
|     variant("python", default=True, when="@1.4:", description="Enable/Disable Python bindings") |     variant("python", default=True, when="@1.4:", description="Enable/Disable Python bindings") | ||||||
|     variant("logging", default=True, description="Enable/Disable spdlog based logging") |     variant("logging", default=True, description="Enable/Disable spdlog based logging") | ||||||
|  | 
 | ||||||
|     conflicts( |     conflicts( | ||||||
|         "+python", when="+ipopt+rocm", msg="Python bindings require -fPIC with Ipopt for rocm." |         "+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 |     # Solver options | ||||||
|     variant("hiop", default=False, description="Enable/Disable HiOp") |     variant("hiop", default=False, description="Enable/Disable HiOp") | ||||||
|     variant("ipopt", default=False, description="Enable/Disable IPOPT") |     variant("ipopt", default=False, description="Enable/Disable IPOPT") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user