[Python-ideas] Add Clang to distutils

Ned Deily nad at acm.org
Sun Aug 25 03:04:12 CEST 2013


In article <1679cbcd-5f05-434c-8a50-b65ce6898870 at email.android.com>,
 Ryan <rymg19 at gmail.com> wrote:

> Sorry...I meant building Python C extensions with Clang.

I suggest you open an issue on the Python bug tracker with a diff patch 
of your suggested changes.  But, FWIW, clang is being used today with 
Distutils on some platforms, at least, like OS X.  On current versions 
of Python on Unix-y platforms, you should be able to dynamically 
override which compiler Distutils is looking for by using the CC and 
possibly the LDSHARED environment variables.

-- 
 Ned Deily,
 nad at acm.org



More information about the Python-ideas mailing list