yaksa: Allow unsupported host compiler with CUDA (#40298)
Fixes #40272.
This commit is contained in:
		| @@ -47,6 +47,8 @@ def configure_args(self): | |||||||
|             cuda_archs = spec.variants["cuda_arch"].value |             cuda_archs = spec.variants["cuda_arch"].value | ||||||
|             if "none" not in cuda_archs: |             if "none" not in cuda_archs: | ||||||
|                 config_args.append("--with-cuda-sm={0}".format(",".join(cuda_archs))) |                 config_args.append("--with-cuda-sm={0}".format(",".join(cuda_archs))) | ||||||
|  |             if "^cuda+allow-unsupported-compilers" in self.spec: | ||||||
|  |                 config_args.append("NVCC_FLAGS=-allow-unsupported-compiler") | ||||||
| 
 | 
 | ||||||
|         if "+rocm" in spec: |         if "+rocm" in spec: | ||||||
|             config_args.append("--with-hip={0}".format(spec["hip"].prefix)) |             config_args.append("--with-hip={0}".format(spec["hip"].prefix)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ken Raffenetti
					Ken Raffenetti