-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Set more build-flags in setup.py
s
#7314
Conversation
And by portability, I mean the artifact build portability. Not the portability tests that we run on Jenkins. Nomenclature is hard. |
Hm, looks like a |
if EXTRA_ENV_LINK_ARGS is None: | ||
EXTRA_ENV_LINK_ARGS = '-lpthread' | ||
if 'win32' in sys.platform: | ||
# TODO(atash) check if this is actually safe to just import and call on |
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.
Verified that that distutils.cygwinccompiler is a pure python module that exists on all distributions.
get_msvcr()
returns None on Linux, but I think it makes sense to only call get_msvcr()
within an if 'win32' in sys.platform
block
Running through with another artifact build... The previous one may be stale. |
Removes MinGW flags from various build scripts, since they're now set in our `setup.py`s by default. Also removes the arguments for the extensions in grpcio's setup.py; that function was already accessing globals anyway, might as well go whole-hog.
Kicking portability tests... |
LGTM |
Removes MinGW flags from build_python.sh script, since they're now set in our
setup.py
s by default. Also removes the arguments for the extensions in grpcio's setup.py; that function was already accessing globals anyway, might as well go whole-hog.Needs some portability tests ran on Jenkins.