diff options
author | ckl <ckl@google.com> | 2021-05-06 09:26:00 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-05-06 09:26:35 -0700 |
commit | 671b03b5235f4865c714c944accc557b5b58af5e (patch) | |
tree | 2c36f5a663cbe17fc107efca19208cb768575848 /python/tools | |
parent | e5b7b71883818734c0ec03798b6c27b3bc92ef01 (diff) | |
download | tink-671b03b5235f4865c714c944accc557b5b58af5e.tar.gz |
Update upb, envoy-api, grpc and grpc-java dependencies in the C++ workspace.
PiperOrigin-RevId: 372359573
Diffstat (limited to 'python/tools')
-rwxr-xr-x | python/tools/distribution/build_linux_binary_wheels.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/tools/distribution/build_linux_binary_wheels.sh b/python/tools/distribution/build_linux_binary_wheels.sh index 4560c7119..3b431fe2b 100755 --- a/python/tools/distribution/build_linux_binary_wheels.sh +++ b/python/tools/distribution/build_linux_binary_wheels.sh @@ -48,9 +48,15 @@ PROTOC_ZIP="protoc-${PROTOC_VERSION}-linux-x86_64.zip" curl -OL "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/${PROTOC_ZIP}" unzip -o "${PROTOC_ZIP}" -d /usr/local bin/protoc -# Setup required for Tink +# Setup required for Tink. export TINK_PYTHON_SETUPTOOLS_OVERRIDE_BASE_PATH="/tmp/tink" +# Workaround for grpc which expects a python2 installation, which is not present +# in the manylinux2014 container. Cannot be an empty string, otherwise Bazel +# will fail. +export PYTHON2_BIN_PATH="non_existent_file" +export PYTHON2_LIB_PATH="non_existent_file" + # Required to fix https://github.com/pypa/manylinux/issues/357. export LD_LIBRARY_PATH="/usr/local/lib" |