From 6547f4109616f55d33c5862e19217b9b674f189d Mon Sep 17 00:00:00 2001 From: Joe Heaton Date: Fri, 2 Jul 2021 20:15:43 +0100 Subject: Rename cray compiler to cce (#24653) cp2k was using the outdated and Incorrect compiler name `cray`. --- var/spack/repos/builtin/packages/cp2k/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py index 243e6d65d6..ee18aa026d 100644 --- a/var/spack/repos/builtin/packages/cp2k/package.py +++ b/var/spack/repos/builtin/packages/cp2k/package.py @@ -247,7 +247,7 @@ class Cp2k(MakefilePackage, CudaPackage): 'intel': ['-O2', '-pc64', '-unroll', ], 'pgi': ['-fast'], 'nvhpc': ['-fast'], - 'cray': ['-O2'], + 'cce': ['-O2'], 'xl': ['-O3'], 'aocc': ['-O1'], } @@ -293,7 +293,7 @@ class Cp2k(MakefilePackage, CudaPackage): ] elif '%pgi' in spec or '%nvhpc' in spec: fcflags += ['-Mfreeform', '-Mextend'] - elif '%cray' in spec: + elif '%cce' in spec: fcflags += ['-emf', '-ffree', '-hflex_mp=strict'] elif '%xl' in spec: fcflags += ['-qpreprocess', '-qstrict', '-q64'] @@ -306,7 +306,7 @@ class Cp2k(MakefilePackage, CudaPackage): ldflags.append(self.compiler.openmp_flag) nvflags.append('-Xcompiler="{0}"'.format( self.compiler.openmp_flag)) - elif '%cray' in spec: # Cray enables OpenMP by default + elif '%cce' in spec: # Cray enables OpenMP by default cflags += ['-hnoomp'] cxxflags += ['-hnoomp'] fcflags += ['-hnoomp'] -- cgit v1.2.3-60-g2f50