-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-45881: Use CC from env first for cross building (GH-29752) #29752
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
Conversation
``setup.py`` now uses ``CC`` from environment first to discover multiarch and cross compile paths. The sysconfig variable contains the value for the build host. The patch also re-arranges ``set_compiler_executables``, ``configure_compiler``, and ``init_inc_lib_dirs`` to make the code easier to follow. Signed-off-by: Christian Heimes <[email protected]>
acc610b
to
0719057
Compare
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, @tiran, I could not cleanly backport this to |
Sorry @tiran, I had trouble checking out the |
…29752). (cherry picked from commit b30bf45) Co-authored-by: Christian Heimes <[email protected]>
…honGH-29752). (cherry picked from commit b30bf45) Co-authored-by: Christian Heimes <[email protected]>. (cherry picked from commit e6b0c8a) Co-authored-by: Christian Heimes <[email protected]>
GH-29754 is a backport of this pull request to the 3.9 branch. |
…H-29754) Co-authored-by: Christian Heimes <[email protected]>. Co-authored-by: Christian Heimes <[email protected]>
GH-29753) Co-authored-by: Christian Heimes <[email protected]>
|
setup.py
now usesCC
from environment first to discover multiarchand cross compile paths. The sysconfig variable contains the value for
the build host.
The patch also re-arranges
set_compiler_executables
,configure_compiler
, andinit_inc_lib_dirs
to make the codeeasier to follow.
Signed-off-by: Christian Heimes [email protected]
https://bugs.python.org/issue45881