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 9cea754 commit 6c71112
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,11 @@ def build_extensions(self):

if "-march" in flags_dict and platform.system() == 'Darwin':
if flags_dict["-march"] == 'x86_64':
flags_dict["-march"] == 'naive'
flags_dict["-march"] = 'naive'

print(flags_dict)
flags_dict.update(new_flags)
print(new_dict)
self.compiler.compiler_so = make_exec_string(cc_so, flags_dict)

# clang on 14.4.1 fails to include C header files...
Expand Down

0 comments on commit 6c71112

Please sign in to comment.