cuda: add v12.5.1 (#44342)
- Add explicit conflict on ppc64le for 12.5 and newer. - Update/fix intel compiler conflict to reflect that intel@2021 is compatible only since 11.4.1 and not since 11.1.1. - Add intel compiler conflicts to reflect strict support matrix since 12.2.0.
This commit is contained in:
		@@ -124,6 +124,8 @@ def cuda_flags(arch_list):
 | 
				
			|||||||
        # minimum supported versions
 | 
					        # minimum supported versions
 | 
				
			||||||
        conflicts("%gcc@:4", when="+cuda ^cuda@11.0:")
 | 
					        conflicts("%gcc@:4", when="+cuda ^cuda@11.0:")
 | 
				
			||||||
        conflicts("%gcc@:5", when="+cuda ^cuda@11.4:")
 | 
					        conflicts("%gcc@:5", when="+cuda ^cuda@11.4:")
 | 
				
			||||||
 | 
					        conflicts("%gcc@:7.2", when="+cuda ^cuda@12.4:")
 | 
				
			||||||
 | 
					        conflicts("%clang@:6", when="+cuda ^cuda@12.2:")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # maximum supported version
 | 
					        # maximum supported version
 | 
				
			||||||
        # NOTE:
 | 
					        # NOTE:
 | 
				
			||||||
@@ -211,12 +213,16 @@ def cuda_flags(arch_list):
 | 
				
			|||||||
        conflicts("%intel@19.0:", when="+cuda ^cuda@:10.0")
 | 
					        conflicts("%intel@19.0:", when="+cuda ^cuda@:10.0")
 | 
				
			||||||
        conflicts("%intel@19.1:", when="+cuda ^cuda@:10.1")
 | 
					        conflicts("%intel@19.1:", when="+cuda ^cuda@:10.1")
 | 
				
			||||||
        conflicts("%intel@19.2:", when="+cuda ^cuda@:11.1.0")
 | 
					        conflicts("%intel@19.2:", when="+cuda ^cuda@:11.1.0")
 | 
				
			||||||
 | 
					        conflicts("%intel@2021:", when="+cuda ^cuda@:11.4.0")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # XL is mostly relevant for ppc64le Linux
 | 
					        # XL is mostly relevant for ppc64le Linux
 | 
				
			||||||
        conflicts("%xl@:12,14:", when="+cuda ^cuda@:9.1")
 | 
					        conflicts("%xl@:12,14:", when="+cuda ^cuda@:9.1")
 | 
				
			||||||
        conflicts("%xl@:12,14:15,17:", when="+cuda ^cuda@9.2")
 | 
					        conflicts("%xl@:12,14:15,17:", when="+cuda ^cuda@9.2")
 | 
				
			||||||
        conflicts("%xl@:12,17:", when="+cuda ^cuda@:11.1.0")
 | 
					        conflicts("%xl@:12,17:", when="+cuda ^cuda@:11.1.0")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        # PowerPC.
 | 
				
			||||||
 | 
					        conflicts("target=ppc64le", when="+cuda ^cuda@12.5:")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Darwin.
 | 
					        # Darwin.
 | 
				
			||||||
        # TODO: add missing conflicts for %apple-clang cuda@:10
 | 
					        # TODO: add missing conflicts for %apple-clang cuda@:10
 | 
				
			||||||
        conflicts("platform=darwin", when="+cuda ^cuda@11.0.2: ")
 | 
					        conflicts("platform=darwin", when="+cuda ^cuda@11.0.2:")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,6 +25,16 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
preferred_ver = "11.8.0"
 | 
					preferred_ver = "11.8.0"
 | 
				
			||||||
_versions = {
 | 
					_versions = {
 | 
				
			||||||
 | 
					    "12.5.1": {
 | 
				
			||||||
 | 
					        "Linux-aarch64": (
 | 
				
			||||||
 | 
					            "353e8abc52ca80adf05002b775c7b3a2d2feefcf1c25ae13f8757f9a11efba3e",
 | 
				
			||||||
 | 
					            "https://developer.download.nvidia.com/compute/cuda/12.5.1/local_installers/cuda_12.5.1_555.42.06_linux_sbsa.run",
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        "Linux-x86_64": (
 | 
				
			||||||
 | 
					            "b5e0a779e089c86610051141c4cf498beef431858ec63398107391727ecbdb04",
 | 
				
			||||||
 | 
					            "https://developer.download.nvidia.com/compute/cuda/12.5.1/local_installers/cuda_12.5.1_555.42.06_linux.run",
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    "12.5.0": {
 | 
					    "12.5.0": {
 | 
				
			||||||
        "Linux-aarch64": (
 | 
					        "Linux-aarch64": (
 | 
				
			||||||
            "e7b864c9ae27cef77cafc78614ec33cbb0a27606af9375deffa09c4269a07f04",
 | 
					            "e7b864c9ae27cef77cafc78614ec33cbb0a27606af9375deffa09c4269a07f04",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user