From cc28bcddd10399cb283f933ea1a4ecb95761fe1e Mon Sep 17 00:00:00 2001 From: bryanherman <63422190+bryanherman@users.noreply.github.com> Date: Wed, 27 Jan 2021 20:48:26 -0500 Subject: [PATCH] fix cpio for intel@18 (#21322) --- var/spack/repos/builtin/packages/cpio/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/cpio/package.py b/var/spack/repos/builtin/packages/cpio/package.py index 56e84a0061..5a351d9dc0 100644 --- a/var/spack/repos/builtin/packages/cpio/package.py +++ b/var/spack/repos/builtin/packages/cpio/package.py @@ -32,7 +32,7 @@ def flag_handler(self, name, flags): spec = self.spec if name == 'cflags': - if '%intel@:18.999' in spec: + if '%intel@:17.999' in spec: flags.append('-no-gcc') elif '%clang' in spec or '%fj' in spec: