From 7e68fa965505aa7c6f25a9ee3c44ac4ead1df8bc Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Wed, 3 Jul 2024 15:18:17 +0100 Subject: [PATCH] What is happening to CC? --- setup.py | 2 ++ 1 file changed, 2 insertions(+) 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']