Skip to content

Commit

Permalink
MacOs Clang compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumgizmos committed Nov 23, 2023
1 parent 8671e37 commit 033533e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ def generate_cython_stub_file(pyx_filepath: str, output_filepath: str) -> None:
## BUILD


if sys.platform == "darwin":
os.environ["CC"] = "gcc-11"
os.environ["CXX"] = "g++-11"

# if sys.platform == "darwin":
# os.environ["CC"] = "clang"
# os.environ["CXX"] = "clang++"
# os.environ["CC"] = "gcc-11"
# os.environ["CXX"] = "g++-11"

if sys.platform == "darwin":
os.environ["CC"] = "clang"
os.environ["CXX"] = "clang++"


if sys.platform == "win32":
Expand Down

0 comments on commit 033533e

Please sign in to comment.