-
-
Notifications
You must be signed in to change notification settings - Fork 34k
bpo-47154: make the macos detection of archs more robust #32178
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
base: main
Are you sure you want to change the base?
Conversation
ronaldoussoren
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks sane, but...
- _osx_support contains more processing of command-line flags than the bit changed by this PR (for example: look for
_UNIVERSAL_CONFIG_VARS), and those may be affected by this issue of similar ones - It might be better to bite the bullet and switch to properly splitting the value using
shlex.splitinstead of using regular expressions, to avoid the (pretty unlikely) scenario of a build that uses a preprocessor define that matches, e.g.:
CFLAGS=... -DCOMPILER_ARGS="-O3 -arch arm64 -g" ...
I guess you are referring to Line 352 in 8c54c3d
|
That, and Line 267 in 8c54c3d
There may be others as well, I haven't done an exhaustive search yet. |
|
Hello! What is the status of the PR? We are running into this issue when trying to install our packages. Thank you! |


https://bugs.python.org/issue47154