1"""loads the aws library, used by TF.""" 2 3load("//third_party:repo.bzl", "third_party_http_archive") 4 5# NOTE: version updates here should also update the major, minor, and patch variables declared in 6# the copts field of the //third_party/aws:aws target 7 8def repo(): 9 third_party_http_archive( 10 name = "aws", 11 urls = [ 12 "https://mirror.bazel.build/github.com/aws/aws-sdk-cpp/archive/1.7.336.tar.gz", 13 "https://github.com/aws/aws-sdk-cpp/archive/1.7.336.tar.gz", 14 ], 15 sha256 = "758174f9788fed6cc1e266bcecb20bf738bd5ef1c3d646131c9ed15c2d6c5720", 16 strip_prefix = "aws-sdk-cpp-1.7.336", 17 build_file = "//third_party/aws:BUILD.bazel", 18 ) 19 20 third_party_http_archive( 21 name = "aws-c-common", 22 urls = [ 23 "https://mirror.tensorflow.org/github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz", 24 "https://github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz", 25 ], 26 sha256 = "01c2a58553a37b3aa5914d9e0bf7bf14507ff4937bc5872a678892ca20fcae1f", 27 strip_prefix = "aws-c-common-0.4.29", 28 build_file = "//third_party/aws:aws-c-common.bazel", 29 ) 30 31 third_party_http_archive( 32 name = "aws-c-event-stream", 33 urls = [ 34 "https://mirror.tensorflow.org/github.com/awslabs/aws-c-event-stream/archive/v0.1.4.tar.gz", 35 "https://github.com/awslabs/aws-c-event-stream/archive/v0.1.4.tar.gz", 36 ], 37 sha256 = "31d880d1c868d3f3df1e1f4b45e56ac73724a4dc3449d04d47fc0746f6f077b6", 38 strip_prefix = "aws-c-event-stream-0.1.4", 39 build_file = "//third_party/aws:aws-c-event-stream.bazel", 40 ) 41 42 third_party_http_archive( 43 name = "aws-checksums", 44 urls = [ 45 "https://mirror.tensorflow.org/github.com/awslabs/aws-checksums/archive/v0.1.5.tar.gz", 46 "https://github.com/awslabs/aws-checksums/archive/v0.1.5.tar.gz", 47 ], 48 sha256 = "6e6bed6f75cf54006b6bafb01b3b96df19605572131a2260fddaf0e87949ced0", 49 strip_prefix = "aws-checksums-0.1.5", 50 build_file = "//third_party/aws:aws-checksums.bazel", 51 ) 52