Skip to content

Commit

Permalink
What is happening to CC?
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Jul 3, 2024
1 parent 5ba18d3 commit 7e68fa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def get_c_extension():
except FileNotFoundError:
brew_prefix = None

raise Exception("AAAAAAAAAAAA Darwin build, CC=", os.environ.get("CC"))

if brew_prefix and not os.environ.get('CC'):
os.environ['CC'] = '{}/opt/llvm/bin/clang'.format(brew_prefix)
link_args = ['-L{}/opt/llvm/lib'.format(brew_prefix), '-fopenmp']
Expand Down

0 comments on commit 7e68fa9

Please sign in to comment.