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