GNU bug report logs -
#46728
[PATCH 0/7] gnu: aws-sdk-cpp: Update to 1.8.148.
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Tue, 23 Feb 2021 23:13:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
Greg Hogan <code <at> greghogan.com> skribis:
> The AWS packages (aws-sdk-cpp and dependencies) are currently built as
> static libraries. I would like to build both static and shared but could
> not find an example or simple method for building both using cmake. Do you
> think it would be worthwhile to extend the cmake-build-system to optionally
> configure, build, and install static libraries with additional phases? The
> gnu-build-system makes it easy to inline a new phase into the package
> definition (when the makefile has both 'make' and 'make static' targets)
> but with CMake we are forced to duplicate the configure phase, which is 44
> lines of code.
In general, it’s best to build only shared libraries. That allows for
reduced memory usage, fast security updates via grafts, etc. So if you
could make the AWS packages build as shared libraries only, that’d be
great.
It’s OK to optionally add static libraries, preferably in a separate
output or even a separate package, but that’s not what should be used by
default.
Does that make sense?
Thanks,
Ludo’.
This bug report was last modified 4 years and 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.