build_linux_binary_wheels.sh (tink-1.6.0) | : | build_linux_binary_wheels.sh (tink-1.6.1) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
set -euo pipefail | set -euo pipefail | |||
# The following assoicative array contains: | # The following assoicative array contains: | |||
# ["<Python version>"]="<python tag>-<abi tag>" | # ["<Python version>"]="<python tag>-<abi tag>" | |||
# where: | # where: | |||
# <Python version> = language version, e.g "3.7" | # <Python version> = language version, e.g "3.7" | |||
# <python tag-<abi tag> = tags as specified in in PEP 491, e.g. "cp37-37m" | # <python tag-<abi tag> = tags as specified in in PEP 491, e.g. "cp37-37m" | |||
declare -A PYTHON_VERSIONS | declare -A PYTHON_VERSIONS | |||
PYTHON_VERSIONS["3.7"]="cp37-cp37m" | PYTHON_VERSIONS["3.7"]="cp37-cp37m" | |||
PYTHON_VERSIONS["3.8"]="cp38-cp38" | PYTHON_VERSIONS["3.8"]="cp38-cp38" | |||
# TODO(ckl): Enable when macOS solution is in place. | PYTHON_VERSIONS["3.9"]="cp39-cp39" | |||
#PYTHON_VERSIONS["3.9"]="cp39-cp39" | ||||
readonly -A PYTHON_VERSIONS | readonly -A PYTHON_VERSIONS | |||
readonly BAZEL_VERSION='3.7.2' | readonly BAZEL_VERSION='3.7.2' | |||
readonly PROTOC_VERSION='3.14.0' | readonly PROTOC_VERSION='3.14.0' | |||
# Get dependencies which are needed for building Tink. | # Get dependencies which are needed for building Tink. | |||
# Install Bazel. Needed for building C++ extensions. | # Install Bazel. Needed for building C++ extensions. | |||
curl -OL "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION} /bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" | curl -OL "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION} /bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" | |||
chmod +x "bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" | chmod +x "bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added |