From a227a6b29eec3cb648ef0a9cc514f9f7b817bd07 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 e7028022..c15f468c 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