Skip to content

Commit

Permalink
Fix gcc/clang build args
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-mc committed Nov 13, 2024
1 parent 7f2217a commit 965db77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"-O3", "-funroll-loops", "-flto", "-fPIC",
"-std=c++2b", "-Wall", "-fvisibility=hidden",
"-Wno-error=unknown-pragmas",
"-mavx", "-mavx2", "-mavx512", "-fno-tree-vectorize", "-fno-slp-vectorize"
# "-Wno-error=unguarded-availability-new" # already handle in Compat.h, and this option doesn't exist on gcc
]
EXTRA_LINK_ARG = ["-shared"]
Expand Down

0 comments on commit 965db77

Please sign in to comment.