intel-oneapi-* conflicts for non linux, x86 (#34441)
This commit is contained in:
		@@ -10,6 +10,7 @@
 | 
			
		||||
 | 
			
		||||
from llnl.util.filesystem import find_headers, find_libraries, join_path
 | 
			
		||||
 | 
			
		||||
from spack.directives import conflicts
 | 
			
		||||
from spack.util.environment import EnvironmentModifications
 | 
			
		||||
from spack.util.executable import Executable
 | 
			
		||||
 | 
			
		||||
@@ -25,6 +26,16 @@ class IntelOneApiPackage(Package):
 | 
			
		||||
    # organization (e.g. University/Company).
 | 
			
		||||
    redistribute_source = False
 | 
			
		||||
 | 
			
		||||
    for c in [
 | 
			
		||||
        "target=ppc64:",
 | 
			
		||||
        "target=ppc64le:",
 | 
			
		||||
        "target=aarch64:",
 | 
			
		||||
        "platform=darwin:",
 | 
			
		||||
        "platform=cray:",
 | 
			
		||||
        "platform=windows:",
 | 
			
		||||
    ]:
 | 
			
		||||
        conflicts(c, msg="This package in only available for x86_64 and Linux")
 | 
			
		||||
 | 
			
		||||
    @staticmethod
 | 
			
		||||
    def update_description(cls):
 | 
			
		||||
        """Updates oneapi package descriptions with common text."""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user