Closed misharash closed 1 year ago
@misharash Thanks for the report. The syntax you are using works if you install with python setup.py install ...
. If you install with pip
, then you have to use the syntax python -m pip install --install-option="CC=/opt/homebrew/opt/llvm/bin/clang" ...
. This should fix the issue you are seeing
Closing since the issue should be for you @misharash. Please feel free to re-open if you need further help
General information
Issue description
When I run
python -m pip install . CC=/opt/homebrew/opt/llvm/bin/clang --user
in the code directory as suggested inREADME
, an error appears.Expected behavior
Code builds
Actual behavior
What have you tried so far?
Setting
CC := /opt/homebrew/opt/llvm/bin/clang
incommon.mk
helps, thenpython -m pip install . --user
works.Minimal failing example
python -m pip install . CC=/anypath