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
This commit is contained in:
takanori-ihara 2020-06-17 11:59:20 +09:00 committed by GitHub
parent 896a14af82
commit 84e117b497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",