Skip to content

Commit

Permalink
#637 -O3 replaces -Ofast
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliu committed May 14, 2024
1 parent 7151ca9 commit a227a6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a227a6b

Please sign in to comment.