Merge pull request #17839 from lidizheng/issue-17831

Fix for macOS build
pull/17835/head^2
Lidi Zheng 6 years ago committed by GitHub
commit ec7d66940b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio/_parallel_compile_patch.py

@ -40,7 +40,7 @@ def _parallel_compile(self,
# setup the same way as distutils.ccompiler.CCompiler # setup the same way as distutils.ccompiler.CCompiler
# https://github.com/python/cpython/blob/31368a4f0e531c19affe2a1becd25fc316bc7501/Lib/distutils/ccompiler.py#L564 # https://github.com/python/cpython/blob/31368a4f0e531c19affe2a1becd25fc316bc7501/Lib/distutils/ccompiler.py#L564
macros, objects, extra_postargs, pp_opts, build = self._setup_compile( macros, objects, extra_postargs, pp_opts, build = self._setup_compile(
output_dir, macros, include_dirs, sources, depends, extra_postargs) str(output_dir), macros, include_dirs, sources, depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs) cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
def _compile_single_file(obj): def _compile_single_file(obj):

Loading…
Cancel
Save