|
|
|
@ -126,7 +126,11 @@ class PythonArtifact: |
|
|
|
|
# This is needed because C core won't build with GCC 4.8 that's |
|
|
|
|
# included in the default dockcross toolchain and we needed |
|
|
|
|
# to opt into using a slighly newer version of GCC. |
|
|
|
|
environ['GRPC_PYTHON_BUILD_WITH_STATIC_LIBSTDCXX'] = 'TRUE' |
|
|
|
|
# TODO(jtattermusch): Due to https://github.com/grpc/grpc/issues/26279 |
|
|
|
|
# we can't enable static linking libstdc++. Because of that, |
|
|
|
|
# the resulting wheel will be compatible with fewer platforms |
|
|
|
|
# but at least it will work. |
|
|
|
|
# environ['GRPC_PYTHON_BUILD_WITH_STATIC_LIBSTDCXX'] = 'TRUE' |
|
|
|
|
|
|
|
|
|
return create_docker_jobspec( |
|
|
|
|
self.name, |
|
|
|
@ -152,8 +156,11 @@ class PythonArtifact: |
|
|
|
|
# This is needed because C core won't build with GCC 4.8 that's |
|
|
|
|
# included in the default dockcross toolchain and we needed |
|
|
|
|
# to opt into using a slighly newer version of GCC. |
|
|
|
|
environ['GRPC_PYTHON_BUILD_WITH_STATIC_LIBSTDCXX'] = 'TRUE' |
|
|
|
|
|
|
|
|
|
# TODO(jtattermusch): Due to https://github.com/grpc/grpc/issues/26279 |
|
|
|
|
# we can't enable static linking libstdc++. Because of that, |
|
|
|
|
# the resulting wheel will be compatible with fewer platforms |
|
|
|
|
# but at least it will work. |
|
|
|
|
# environ['GRPC_PYTHON_BUILD_WITH_STATIC_LIBSTDCXX'] = 'TRUE' |
|
|
|
|
else: |
|
|
|
|
# only run auditwheel if we're not crosscompiling |
|
|
|
|
environ['GRPC_RUN_AUDITWHEEL_REPAIR'] = 'TRUE' |
|
|
|
@ -263,7 +270,7 @@ class CSharpExtArtifact: |
|
|
|
|
if self.arch == 'aarch64': |
|
|
|
|
# for aarch64, use a dockcross manylinux image that will |
|
|
|
|
# give us both ready to use crosscompiler and sufficient backward compatibility |
|
|
|
|
dockerfile_dir = 'tools/dockerfile/grpc_artifact_python_manylinux2014_aarch64' |
|
|
|
|
dockerfile_dir = 'tools/dockerfile/grpc_artifact_python_manylinux_2_24_aarch64' |
|
|
|
|
return create_docker_jobspec( |
|
|
|
|
self.name, dockerfile_dir, |
|
|
|
|
'tools/run_tests/artifacts/build_artifact_csharp.sh') |
|
|
|
@ -388,10 +395,10 @@ def targets(): |
|
|
|
|
PythonArtifact('manylinux2010', 'x86', 'cp37-cp37m'), |
|
|
|
|
PythonArtifact('manylinux2010', 'x86', 'cp38-cp38'), |
|
|
|
|
PythonArtifact('manylinux2010', 'x86', 'cp39-cp39'), |
|
|
|
|
PythonArtifact('manylinux2014', 'aarch64', 'cp36-cp36m'), |
|
|
|
|
PythonArtifact('manylinux2014', 'aarch64', 'cp37-cp37m'), |
|
|
|
|
PythonArtifact('manylinux2014', 'aarch64', 'cp38-cp38'), |
|
|
|
|
PythonArtifact('manylinux2014', 'aarch64', 'cp39-cp39'), |
|
|
|
|
PythonArtifact('manylinux_2_24', 'aarch64', 'cp36-cp36m'), |
|
|
|
|
PythonArtifact('manylinux_2_24', 'aarch64', 'cp37-cp37m'), |
|
|
|
|
PythonArtifact('manylinux_2_24', 'aarch64', 'cp38-cp38'), |
|
|
|
|
PythonArtifact('manylinux_2_24', 'aarch64', 'cp39-cp39'), |
|
|
|
|
PythonArtifact('linux_extra', 'armv7', 'cp36-cp36m'), |
|
|
|
|
PythonArtifact('linux_extra', 'armv7', 'cp37-cp37m'), |
|
|
|
|
PythonArtifact('linux_extra', 'armv7', 'cp38-cp38'), |
|
|
|
|