diff options
author | Mark D. Roth <roth@google.com> | 2016-07-14 13:58:42 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-07-14 13:58:42 -0700 |
commit | ef31ba1e03ad55b0c46b5dd8b5ed38eec555412b (patch) | |
tree | b9d4138c26b66621a003ee7552af01ee8e5d237e /tools/run_tests/build_python.sh | |
parent | dba5d2708c6d59a73b65d378440dc64b3af2b873 (diff) | |
parent | 1198da0b5c95b8444e4f282349f5d1f47db76525 (diff) |
Merge remote-tracking branch 'upstream/master' into handshake_api
Diffstat (limited to 'tools/run_tests/build_python.sh')
-rwxr-xr-x | tools/run_tests/build_python.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/run_tests/build_python.sh b/tools/run_tests/build_python.sh index a3fa8200d5..9cb3cb12a9 100755 --- a/tools/run_tests/build_python.sh +++ b/tools/run_tests/build_python.sh @@ -127,19 +127,6 @@ if [ $(is_linux) ]; then fi fi fi -# TODO(atash) consider conceptualizing MinGW as a first-class platform and move -# these flags into our `setup.py`s -if [ $(is_mingw) ]; then - # We're on MinGW, and our CFLAGS and LDFLAGS will be eaten by the void. Use - # our work-around environment variables instead. - PYTHON_MSVCR=`$PYTHON -c "from distutils.cygwinccompiler import get_msvcr; print(get_msvcr()[0])"` - export GRPC_PYTHON_LDFLAGS="-static-libgcc -static-libstdc++ -mcrtdll=$PYTHON_MSVCR -static -lpthread" - # See https://sourceforge.net/p/mingw-w64/bugs/363/ - export GRPC_PYTHON_CFLAGS="-D_ftime=_ftime64 -D_timeb=__timeb64" - # TODO(atash) set these flags for only grpcio-tools (they don't do any harm to - # grpcio, but they result in noisy warnings). - export GRPC_PYTHON_CFLAGS="-frtti -std=c++11 $GRPC_PYTHON_CFLAGS" -fi ############################ # Perform build operations # |