52 lines
2.1 KiB
Python
52 lines
2.1 KiB
Python
"""loads the aws library, used by TF."""
|
|
|
|
load("//third_party:repo.bzl", "third_party_http_archive")
|
|
|
|
# NOTE: version updates here should also update the major, minor, and patch variables declared in
|
|
# the copts field of the //third_party/aws:aws target
|
|
|
|
def repo():
|
|
third_party_http_archive(
|
|
name = "aws",
|
|
urls = [
|
|
"https://mirror.tensorflow.orgg/github.com/aws/aws-sdk-cpp/archive/1.7.336.tar.gz",
|
|
"https://github.com/aws/aws-sdk-cpp/archive/1.7.336.tar.gz",
|
|
],
|
|
sha256 = "758174f9788fed6cc1e266bcecb20bf738bd5ef1c3d646131c9ed15c2d6c5720",
|
|
strip_prefix = "aws-sdk-cpp-1.7.336",
|
|
build_file = "//third_party/aws:BUILD.bazel",
|
|
)
|
|
|
|
third_party_http_archive(
|
|
name = "aws-c-common",
|
|
urls = [
|
|
"https://mirror.tensorflow.org/github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz",
|
|
"https://github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz",
|
|
],
|
|
sha256 = "01c2a58553a37b3aa5914d9e0bf7bf14507ff4937bc5872a678892ca20fcae1f",
|
|
strip_prefix = "aws-c-common-0.4.29",
|
|
build_file = "//third_party/aws:aws-c-common.bazel",
|
|
)
|
|
|
|
third_party_http_archive(
|
|
name = "aws-c-event-stream",
|
|
urls = [
|
|
"https://mirror.tensorflow.org/github.com/awslabs/aws-c-event-stream/archive/v0.1.4.tar.gz",
|
|
"https://github.com/awslabs/aws-c-event-stream/archive/v0.1.4.tar.gz",
|
|
],
|
|
sha256 = "31d880d1c868d3f3df1e1f4b45e56ac73724a4dc3449d04d47fc0746f6f077b6",
|
|
strip_prefix = "aws-c-event-stream-0.1.4",
|
|
build_file = "//third_party/aws:aws-c-event-stream.bazel",
|
|
)
|
|
|
|
third_party_http_archive(
|
|
name = "aws-checksums",
|
|
urls = [
|
|
"https://mirror.tensorflow.org/github.com/awslabs/aws-checksums/archive/v0.1.5.tar.gz",
|
|
"https://github.com/awslabs/aws-checksums/archive/v0.1.5.tar.gz",
|
|
],
|
|
sha256 = "6e6bed6f75cf54006b6bafb01b3b96df19605572131a2260fddaf0e87949ced0",
|
|
strip_prefix = "aws-checksums-0.1.5",
|
|
build_file = "//third_party/aws:aws-checksums.bazel",
|
|
)
|