py-torch: Update conflicts for +/~tensorpipe (#36781)
* py-torch: Update conflicts for +/~tensorpipe * [@spackbot] updating style on behalf of blue42u * Update var/spack/repos/builtin/packages/py-torch/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * [@spackbot] updating style on behalf of blue42u --------- Co-authored-by: blue42u <blue42u@users.noreply.github.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
		 Jonathon Anderson
					Jonathon Anderson
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							f1c0775245
						
					
				
				
					commit
					8e12eef4e1
				
			| @@ -104,7 +104,7 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage): | ||||
|     ) | ||||
| 
 | ||||
|     conflicts("+cuda+rocm") | ||||
|     conflicts("+tensorpipe", when="+rocm", msg="TensorPipe doesn't yet support ROCm") | ||||
|     conflicts("+tensorpipe", when="+rocm ^hip@:5.1", msg="TensorPipe not supported until ROCm 5.2") | ||||
|     conflicts("+breakpad", when="target=ppc64:") | ||||
|     conflicts("+breakpad", when="target=ppc64le:") | ||||
| 
 | ||||
| @@ -114,6 +114,13 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage): | ||||
|     # https://github.com/pytorch/pytorch/issues/80805 | ||||
|     conflicts("+openmp", when="platform=darwin target=aarch64:") | ||||
| 
 | ||||
|     # https://github.com/pytorch/pytorch/issues/97397 | ||||
|     conflicts( | ||||
|         "~tensorpipe", | ||||
|         when="@1.8: +distributed", | ||||
|         msg="TensorPipe must be enabled with +distributed", | ||||
|     ) | ||||
| 
 | ||||
|     conflicts( | ||||
|         "cuda_arch=none", | ||||
|         when="+cuda", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user