-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support using clang #2065
Comments
No plans. I'm surprised there's not already support for clang somehow. Behavior is entangled with distutils in stdlib, so I don't know what it would take. Happy for someone to evaluate and develop a plan. |
Can you do the following? $ CC="clang" python setup.py build |
@isuruf has a PR for using clang-cl at python/cpython#18371, but since distutils in stdlib is going to be removed (see https://bugs.python.org/issue41282), don't known where is should go. |
It should go here. |
If the patch can be applied to distutils, please submit it against pypa/distutils, whereafter it will be incorporated here directly. |
It's not enough to have distutils support. CPython headers need a small change which is fixed in python/cpython#18371 |
Clang is not in the list of allowed compilers when executed:
python setup.py build --help-compiler
--compiler=bcpp Borland C++ Compiler
--compiler=cygwin Cygwin port of GNU C Compiler for Win32
--compiler=mingw32 Mingw32 port of GNU C Compiler for Win32
--compiler=msvc Microsoft Visual C++
--compiler=unix standard UNIX-style compiler
Is there plan to add clang?
The text was updated successfully, but these errors were encountered: