diff --git a/setup.py b/setup.py index 44e0ebabd..cdef250b7 100644 --- a/setup.py +++ b/setup.py @@ -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']