Merge pull request #7491 from kpayson64/remote_linux_whl_artifacts

Remove non-manylinux linux .whl artifacts
pull/7503/head
kpayson64 8 years ago committed by GitHub
commit 73eec148d2
  1. 1
      tools/run_tests/artifact_targets.py
  2. 4
      tools/run_tests/build_artifact_python.sh

@ -119,6 +119,7 @@ class PythonArtifact:
# need to do this manually... # need to do this manually...
environ['CFLAGS'] = '-DGPR_MANYLINUX1=1' environ['CFLAGS'] = '-DGPR_MANYLINUX1=1'
environ['BUILD_HEALTH_CHECKING'] = 'TRUE' environ['BUILD_HEALTH_CHECKING'] = 'TRUE'
environ['BUILD_MANYLINUX_WHEEL'] = 'TRUE'
return create_docker_jobspec(self.name, return create_docker_jobspec(self.name,
'tools/dockerfile/grpc_artifact_python_manylinux_%s' % self.arch, 'tools/dockerfile/grpc_artifact_python_manylinux_%s' % self.arch,
'tools/run_tests/build_artifact_python.sh', 'tools/run_tests/build_artifact_python.sh',

@ -62,13 +62,15 @@ CFLAGS="$CFLAGS -fno-wrapv" ${SETARCH_CMD} \
${PYTHON} tools/distrib/python/grpcio_tools/setup.py bdist_wheel ${PYTHON} tools/distrib/python/grpcio_tools/setup.py bdist_wheel
mkdir -p artifacts mkdir -p artifacts
if command -v ${AUDITWHEEL} if [ "$BUILD_MANYLINUX_WHEEL" != "" ]
then then
for wheel in dist/*.whl; do for wheel in dist/*.whl; do
${AUDITWHEEL} repair $wheel -w artifacts/ ${AUDITWHEEL} repair $wheel -w artifacts/
rm $wheel
done done
for wheel in tools/distrib/python/grpcio_tools/dist/*.whl; do for wheel in tools/distrib/python/grpcio_tools/dist/*.whl; do
${AUDITWHEEL} repair $wheel -w artifacts/ ${AUDITWHEEL} repair $wheel -w artifacts/
rm $wheel
done done
fi fi

Loading…
Cancel
Save