model_server icon indicating copy to clipboard operation
model_server copied to clipboard

Use bazel to build aws-sdk-cpp

Open atobiszei opened this issue 1 year ago • 0 comments

Additionally bump aws-sdk-cpp version to 1.11.279

Encountered issues with bazel. Non ASCII filenames don't work inside bazel. Workaround is to remove test file from aws-sdk-cpp. https://github.com/bazelbuild/bazel/issues/374

Building with rules_foreign cmake doesn't work with parallel builds. This is something we could optimize later, for now hardcode some low value: https://github.com/bazelbuild/rules_foreign_cc/issues/329

On Redhat to properly build targets we now have to add: --//:distro=redhat By default distro is set to ubuntu. This is workaround for not bazel not being able to differentiate between the two. There is difference in aws-sdk-cpp static libraries location after build. Ideally we should find how to use select on aws-sdk-cpp repo BUILD file which would rely on main repo flag, but I didn't find way to support it there.

atobiszei avatar Feb 21 '24 09:02 atobiszei