From 75d82c8459333595166c074a8661ea1dcf1823dc Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Wed, 10 Apr 2024 09:38:06 -0400 Subject: [PATCH] #637 -O3 replaces -Ofast --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e702802..c15f468 100644 --- a/setup.py +++ b/setup.py @@ -54,9 +54,7 @@ def main(): numpy_include_dir = [ numpy.get_include() ] # CFLAG - # I intend to use -Ofast, however if gcc version < 4.6, this option is unavailable so... - # should I care about old gcc compiler?... - extra_c_args = ["-w","-Ofast", "-g0"] # for C, -Ofast implies -O3 and -ffast-math + extra_c_args = ["-w","-O3", "-g0"] # CFLAG for fermi-lite related codes clang = False -- 2.11.4.GIT