Upgrade AWS SDK to 266, and upgrade its dependencies
This commit is contained in:
parent
6ebeee20e7
commit
7372667362
@ -622,8 +622,7 @@ Status S3FileSystem::RenameFile(const string& src, const string& target) {
|
||||
Aws::String src_key = object.GetKey();
|
||||
Aws::String target_key = src_key;
|
||||
target_key.replace(0, src_object.length(), target_object.c_str());
|
||||
Aws::String source = Aws::String(src_bucket.c_str()) + "/" +
|
||||
Aws::Utils::StringUtils::URLEncode(src_key.c_str());
|
||||
Aws::String source = Aws::String(src_bucket.c_str()) + "/" + src_key.c_str();
|
||||
|
||||
copyObjectRequest.SetBucket(target_bucket.c_str());
|
||||
copyObjectRequest.SetKey(target_key);
|
||||
|
2
third_party/aws/BUILD.bazel
vendored
2
third_party/aws/BUILD.bazel
vendored
@ -106,7 +106,7 @@ cc_library(
|
||||
"-DENABLE_OPENSSL_ENCRYPTION",
|
||||
"-DAWS_SDK_VERSION_MAJOR=1",
|
||||
"-DAWS_SDK_VERSION_MINOR=7",
|
||||
"-DAWS_SDK_VERSION_PATCH=226",
|
||||
"-DAWS_SDK_VERSION_PATCH=266",
|
||||
"-DOPENSSL_IS_BORINGSSL",
|
||||
],
|
||||
)
|
||||
|
16
third_party/aws/workspace.bzl
vendored
16
third_party/aws/workspace.bzl
vendored
@ -9,22 +9,22 @@ def repo():
|
||||
third_party_http_archive(
|
||||
name = "aws",
|
||||
urls = [
|
||||
"https://mirror.bazel.build/github.com/aws/aws-sdk-cpp/archive/1.7.226.tar.gz",
|
||||
"https://github.com/aws/aws-sdk-cpp/archive/1.7.226.tar.gz",
|
||||
"https://mirror.bazel.build/github.com/aws/aws-sdk-cpp/archive/1.7.266.tar.gz",
|
||||
"https://github.com/aws/aws-sdk-cpp/archive/1.7.266.tar.gz",
|
||||
],
|
||||
sha256 = "3a6eff15ee73a1a73c4c16ef2582eaef8647821750dab6d5cd0f137103b5c488",
|
||||
strip_prefix = "aws-sdk-cpp-1.7.226",
|
||||
sha256 = "39fd8a2999260d2b8fcbc8187f1ed5299972c2b8bd14adb7850fd674fea67fb7",
|
||||
strip_prefix = "aws-sdk-cpp-1.7.266",
|
||||
build_file = "//third_party/aws:BUILD.bazel",
|
||||
)
|
||||
|
||||
third_party_http_archive(
|
||||
name = "aws-c-common",
|
||||
urls = [
|
||||
"http://mirror.tensorflow.org/github.com/awslabs/aws-c-common/archive/v0.4.20.tar.gz",
|
||||
"https://github.com/awslabs/aws-c-common/archive/v0.4.20.tar.gz"
|
||||
"http://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 = "b0a86df4731fb5de00c5caaf95450ca26a1c0405919aee39927a9455bc5a6b05",
|
||||
strip_prefix = "aws-c-common-0.4.20",
|
||||
sha256 = "01c2a58553a37b3aa5914d9e0bf7bf14507ff4937bc5872a678892ca20fcae1f",
|
||||
strip_prefix = "aws-c-common-0.4.29",
|
||||
build_file = "//third_party/aws:aws-c-common.bazel",
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user