diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py index cccd240d11..9fcf567174 100644 --- a/var/spack/repos/builtin/packages/pdt/package.py +++ b/var/spack/repos/builtin/packages/pdt/package.py @@ -26,6 +26,7 @@ class Pdt(AutotoolsPackage): license("GPL-2.0-only") + version("3.25.2", sha256="01c2d403bc6672b2b264a182c325806541066c5ed5713878eb598f5506428cbe") version("3.25.1", sha256="0b6f8a6b8769c181b2ae6cae7298f04b8e3e3d68066f598ed24574e19500bc97") version("3.25", sha256="1037628d854edfeded3d847150d3e8fbd3774e8146407ce32f5021c80f6299be") version("3.24", sha256="4a2bb31f3f7f2e52ed49d9b7189ade05170a4386ef76771280a06e8b3ca97ab2") @@ -50,8 +51,13 @@ def configure(self, spec, prefix): options = ["-prefix=%s" % prefix] if self.compiler.name == "xl": options.append("-XLC") - elif self.compiler.name == "intel" or self.compiler.name == "oneapi": + elif self.compiler.name == "intel": options.append("-icpc") + elif self.compiler.name == "oneapi": + if spec.satisfies("@3.25.2:"): + options.append("-icpx") + else: + options.append("-icpc") elif self.compiler.name == "pgi": options.append("-pgCC") elif self.compiler.name == "gcc":