From 4578d0ed0867fd9c8d02d82f3d858eafe7215b7c Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Sun, 10 Nov 2024 23:56:17 +0800 Subject: [PATCH] Removed deprecated -Ofast parameter on build script. --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 2dc35a8..eae9475 100644 --- a/build.py +++ b/build.py @@ -140,8 +140,8 @@ def get_ext_instructions(): '-Wstrict-aliasing=2', '-Wswitch', '-Wswitch-default', '-Wswitch-enum', '-Wtrigraphs', '-Wuninitialized', '-Wunknown-pragmas', '-Wunreachable-code', '-Wunused', '-Wunused-function', '-Wunused-label', '-Wunused-parameter', - '-Wunused-value', '-Wunused-variable', '-Wvariadic-macros', - '-Wvolatile-register-var', '-Wwrite-strings', '-pipe', '-Ofast', '-s', + '-Wunused-value', '-Wunused-variable', '-Wvariadic-macros', '-O3', + '-Wvolatile-register-var', '-Wwrite-strings', '-pipe', '-ffast-math', '-s', '-std=c++20', '-fopenmp'] + ext_instructions + ['-mfpmath=sse', '-march=native', '-funroll-loops', '-ffast-math' ] + cpp_files