From 84e117b4976c58c713ba8525e701c628043722d0 Mon Sep 17 00:00:00 2001 From: takanori-ihara <62980219+takanori-ihara@users.noreply.github.com> Date: Wed, 17 Jun 2020 11:59:20 +0900 Subject: [PATCH] Add compiler option to use with Fujitsu compiler (#17067) * Add compiler option to use with Fujitsu compiler * Fix flake8 error * remove 1-1_fcc_tf_patch.patch * fix flake8 error --- var/spack/repos/builtin/packages/linsys-v/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/linsys-v/package.py b/var/spack/repos/builtin/packages/linsys-v/package.py index cc8e94c26b..545a2a8bec 100644 --- a/var/spack/repos/builtin/packages/linsys-v/package.py +++ b/var/spack/repos/builtin/packages/linsys-v/package.py @@ -50,7 +50,9 @@ def patch(self): ) makefile.filter( r"^CFLAGS\s+=\s-Kfast,openmp", - "CFLAGS=-Ofast {0}".format(self.compiler.openmp_flag), + "CFLAGS=-Ofast -fstrict-aliasing {0}".format( + self.compiler.openmp_flag + ), ) makefile.filter( r"^LIBS\s+=\s-SCALAPACK\s-SSL2BLAMP",