From 7caa50cdeb7008021c6a3745bf1288a91f80b196 Mon Sep 17 00:00:00 2001 From: Mathias Louboutin Date: Tue, 8 Aug 2023 15:45:20 -0400 Subject: [PATCH] misc: fix flake8 --- devito/arch/compiler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devito/arch/compiler.py b/devito/arch/compiler.py index 0161ce5a66..738f379105 100644 --- a/devito/arch/compiler.py +++ b/devito/arch/compiler.py @@ -401,10 +401,10 @@ def __init__(self, *args, **kwargs): self.cflags.append('-mprefer-vector-width=512') if platform in [POWER8, POWER9]: - # -march isn't supported on power architectures, is -mtune needed? - self.cflags = ['-mcpu=native'] + self.cflags + # -march isn't supported on power architectures, is -mtune needed? + self.cflags = ['-mcpu=native'] + self.cflags else: - self.cflags = ['-march=native'] + self.cflags + self.cflags = ['-march=native'] + self.cflags language = kwargs.pop('language', configuration['language']) try: