Skip to content

Commit

Permalink
Fixing...
Browse files Browse the repository at this point in the history
  • Loading branch information
shinaoka committed Jun 24, 2024
1 parent 5b20afd commit 5107115
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 @@ -134,6 +134,7 @@ def build_extensions(self):
new_flags = {"-Wextra": None, "-std": "c11"}
# By default, we do not optimize for the architecture by default,
# because this is harmful when building a binary package.
print("debug", self.opt_arch)
if self.opt_arch:
new_flags["-mtune"] = new_flags["-march"] = "native"

Expand Down

0 comments on commit 5107115

Please sign in to comment.