Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-mc committed Nov 18, 2024
1 parent bdef287 commit 3e1bac8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if IS_WINDOWS:
# Windows uses MSVC
EXTRA_COMPILE_ARG = [
"/O2", "/Ob2", "/GL", "/W4", "/std:c++latest", "/WX", "/MP",
"/O2", "/Ob2", "/GL", "/W4", "/std:c++latest", "/WX",
"/wd4068", # ignore unknown pragma error
"/EHsc"
]
Expand All @@ -30,6 +30,7 @@

if IS_MACOS:
EXTRA_COMPILE_ARG.append("-faligned-allocation")
os.environ['CC'] = 'clang++'


class CustomBuildExt(build_ext):
Expand Down

0 comments on commit 3e1bac8

Please sign in to comment.