bpo-45881: Use CC from env first for cross building (GH-29752)#29752
Merged
tiran merged 1 commit intopython:mainfrom Nov 24, 2021
Merged
bpo-45881: Use CC from env first for cross building (GH-29752)#29752tiran merged 1 commit intopython:mainfrom
tiran merged 1 commit intopython:mainfrom
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
brettcannon
approved these changes
Nov 24, 2021
Contributor
|
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Contributor
|
Sorry, @tiran, I could not cleanly backport this to |
Contributor
|
Sorry @tiran, I had trouble checking out the |
tiran
added a commit
to tiran/cpython
that referenced
this pull request
Nov 24, 2021
…29752). (cherry picked from commit b30bf45) Co-authored-by: Christian Heimes <[email protected]>
tiran
added a commit
to tiran/cpython
that referenced
this pull request
Nov 24, 2021
…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. |
tiran
added a commit
that referenced
this pull request
Nov 25, 2021
…H-29754) Co-authored-by: Christian Heimes <[email protected]>. Co-authored-by: Christian Heimes <[email protected]>
tiran
added a commit
that referenced
this pull request
Nov 27, 2021
GH-29753) Co-authored-by: Christian Heimes <[email protected]>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setup.pynow usesCCfrom 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_dirsto make the codeeasier to follow.
Signed-off-by: Christian Heimes [email protected]
https://bugs.python.org/issue45881