From 2cb010ab1ad0aedb9ed0503bf84877c80cb12917 Mon Sep 17 00:00:00 2001 From: Emily Bourne Date: Tue, 12 Sep 2023 11:13:35 +0200 Subject: [PATCH] Try different flags --- .github/actions/generate_pyccel_config/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/generate_pyccel_config/action.yml b/.github/actions/generate_pyccel_config/action.yml index 75b4e1d1..7d199183 100644 --- a/.github/actions/generate_pyccel_config/action.yml +++ b/.github/actions/generate_pyccel_config/action.yml @@ -26,12 +26,12 @@ runs: file=open('pyccel_c_gnu.json','w')) # Fortran Intel config = json.load(open('pyccel_fortran_intel.json')) - config['general_flags'].extend(['-O3', '-march=native', '-mtune=native', '-mavx', '-fast']) + config['general_flags'].extend(['-O3', '-march=native', '-xHost', '-axCORE-AVX2,CORE-AVX512', '-mavx', '-fast']) print(json.dumps(config, indent=4), # C Intel file=open('pyccel_fortran_intel.json','w')) config = json.load(open('pyccel_c_intel.json')) - config['general_flags'].extend(['-O3', '-march=native', '-mtune=native', '-mavx', '-fast']) + config['general_flags'].extend(['-O3', '-march=native', '-xHost', '-axCORE-AVX2,CORE-AVX512', '-mavx', '-fast']) print(json.dumps(config, indent=4), file=open('pyccel_c_intel.json','w')) shell: python