aws-sdk-cpp icon indicating copy to clipboard operation
aws-sdk-cpp copied to clipboard

Publish libraries to apt repo

Open pauldraper opened this issue 8 years ago • 3 comments

It would be nice to published the compiled libraries, just like the Ruby, Python, PHP, JavaScript, and Java AWS SDKs are published as installable packages.

I've published debs to an apt repo here: https://github.com/lucidsoftware/aws-sdk-cpp-deb

pauldraper avatar Apr 04 '17 21:04 pauldraper

Would you care to share the code for generating the deb files? I'd be happy to incorporate it into our build. We've been planning on this for a while, but haven't gotten around to it.

Also, it's not THAT useful, since we can't guarantee ABI compatibility between releases.

I suppose we could only provide the static libs?

JonathanHenson avatar Apr 05 '17 14:04 JonathanHenson

@JonathanHenson the repo I linked has all the code. It's just a sub-100 line makefile (plus some configuration for Travis publishing to Bintray). Debian has a bunch of fancy packaging tools, but mine is pretty bare bones.

I build two packages for each library: the binary package with the static binary, and the source package (-dev) with the headers. This being a native library, I did have decide which compile flags to use.

Also, it's not THAT useful, since we can't guarantee ABI compatibility between releases.

Sure, but that's for the consumers to figure out. E.g. I can consume 1.0.90 to 1.0.96. Debian actually has some tools to help downstream packages determine when symbols in shared libraries change. (https://www.debian.org/doc/debian-policy/ch-sharedlibs.html) But those don't really apply to C++ libs, which export pretty much everything.

There are some CMake tools (https://cmake.org/cmake/help/v3.0/module/CPackDeb.html) that you might prefer using, but I am no CMake expert.

pauldraper avatar Apr 23 '17 02:04 pauldraper

~https://github.com/aws/aws-sdk-cpp/issues/1888~

jmklix avatar Jun 20 '22 17:06 jmklix

Closing this issue as we currently don't have any plans to publish binaries and recommend consuming this sdk from source

jmklix avatar May 03 '24 17:05 jmklix

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.

github-actions[bot] avatar May 03 '24 17:05 github-actions[bot]