Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: mingw-w64-aws-sdk-cpp #6774

Merged
merged 8 commits into from
Aug 15, 2020
Merged

New package: mingw-w64-aws-sdk-cpp #6774

merged 8 commits into from
Aug 15, 2020

Conversation

jeroen
Copy link
Contributor

@jeroen jeroen commented Aug 10, 2020

This is a dependency that a lot of other libraries are interested in. Upstream doesn't officially support mingw yet (they would like to), so this is based on open pull requests from aws/aws-sdk-cpp#1333 and awslabs/aws-c-common#604. I added a patch to make it build on 32-bit and also with older versions of the mingw crt.

It is recommended by upstream to build a static libs (you get linking errors when building shared): aws/aws-sdk-cpp#1309

@1480c1
Copy link
Contributor

1480c1 commented Aug 11, 2020

Perhaps it might be better to split the cmake changes and the c source file changes into two patches for easier rebasing and managing?

@lazka lazka added the new-package Pull request which adds new package(s) label Aug 13, 2020
@jeroen
Copy link
Contributor Author

jeroen commented Aug 14, 2020

Perhaps it might be better to split the cmake changes and the c source file changes into two patches for easier rebasing and managing?

The patch is copied from aws/aws-sdk-cpp#1333. I think it's ok to keep them together; there is only a single cmake change in the patch.

@jeroen
Copy link
Contributor Author

jeroen commented Aug 14, 2020

Thanks so much for your suggestions @1480c1 ! I did not know it was possible to generate ninja files from cmake, very cool.

Do you think it looks ready now?

Copy link
Contributor

@1480c1 1480c1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall lgtm, although I haven't personally built or tested it

mingw-w64-aws-sdk-cpp/BuildAwsCCommon.patch Outdated Show resolved Hide resolved
@lazka lazka merged commit 6988195 into msys2:master Aug 15, 2020
@jeroen jeroen deleted the aws-sdk branch August 15, 2020 08:59
@jeroen
Copy link
Contributor Author

jeroen commented Aug 15, 2020

Awesome!! 🚀

@jeroen
Copy link
Contributor Author

jeroen commented Aug 15, 2020

cc: @ihnorton @kou @xhochy @nealrichardson, once the binaries are available, we can enable S3 support in arrow and tiledb.

@Biswa96
Copy link
Member

Biswa96 commented Feb 27, 2021

I am thinking to separate out the dependencies to different packages, like ArchLinux does. Any thought on that? Also ArchLinux seems to use shared libraries. If shared libraries are enabled would it create any issue with other dependent packages?

@jeroen
Copy link
Contributor Author

jeroen commented Feb 27, 2021

I think that is fine, though I'm not sure what the benefit would be. The full aws-sdk-cpp consists of many inter-dependent libraries, I think it would be quite complex to package them all separately with proper dependencies. Also I am not sure about the ABI stability; I think if you build shared libraries, you may need to rebuild arrow/tiledb for every revision of the aws-sdk-cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package Pull request which adds new package(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants