all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: Leo Famulari <leo@famulari.name>
Cc: 46728@debbugs.gnu.org
Subject: [bug#46728] [PATCH 4/7] gnu: Add s2n.
Date: Thu, 25 Feb 2021 09:19:31 -0500	[thread overview]
Message-ID: <CA+3U0Z=v3cOfb=WifVf4_eG=JRQfGHNXkJVxACRzNK_ZM2g-QA@mail.gmail.com> (raw)
In-Reply-To: <YDaALVWUyqLbwTdr@jasmine.lan>

[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]

Hi Leo,

The CMake configuration [1] has both shared and static dependencies on
LibCrypto.

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.

Greg

[1]
https://github.com/aws/s2n-tls/blob/main/cmake/modules/FindLibCrypto.cmake

On Wed, Feb 24, 2021 at 4:34 PM Leo Famulari <leo@famulari.name> wrote:

> On Tue, Feb 23, 2021 at 06:17:06PM -0500, Greg Hogan wrote:
> > From 78e69597f63b22a3249853208e88f8f57cf84054 Mon Sep 17 00:00:00 2001
> > From: Greg Hogan <code@greghogan.com>
> > Date: Tue, 19 Jan 2021 12:52:01 +0000
> > Subject: [PATCH 4/7] gnu: Add s2n.
> >
> > * gnu/packages/tls.scm (s2n): New variable.
>
> Thank you for this patch series!
>
> > +    (propagated-inputs
> > +     `(("openssl" ,openssl)
> > +       ("openssl:static" ,openssl "static")))
>
> I'm wondering specifically about the use of static OpenSSL in these
> patches. It's a little unusual to use statically-linked outputs in Guix.
> Is it required for s2n?
>

[-- Attachment #2: Type: text/html, Size: 2254 bytes --]

  reply	other threads:[~2021-02-25 14:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-23 23:11 [bug#46728] [PATCH 0/7] gnu: aws-sdk-cpp: Update to 1.8.148 Greg Hogan
     [not found] ` <handler.46728.B.161412192713427.ack@debbugs.gnu.org>
2021-02-23 23:14   ` [bug#46728] [PATCH 1/7] gnu: aws-c-common: Update to 0.5.1 Greg Hogan
2021-02-23 23:15   ` [bug#46728] [PATCH 2/7] gnu: aws-checksums: Update to 0.1.11 Greg Hogan
2021-02-23 23:16   ` [bug#46728] [PATCH 3/7] gnu: Add aws-c-cal Greg Hogan
2021-02-23 23:17   ` [bug#46728] [PATCH 4/7] gnu: Add s2n Greg Hogan
2021-02-24 16:34     ` Leo Famulari
2021-02-25 14:19       ` Greg Hogan [this message]
2021-03-02 19:37         ` [bug#46728] [PATCH 0/7] gnu: aws-sdk-cpp: Update to 1.8.148 Ludovic Courtès
2021-03-02 20:13           ` Greg Hogan
2021-03-08 13:49             ` Ludovic Courtès
2021-03-11 21:37               ` Greg Hogan
2021-03-12 23:01                 ` bug#46728: " Ludovic Courtès
2021-02-23 23:18   ` [bug#46728] [PATCH 5/7] gnu: Add aws-c-io Greg Hogan
2021-02-23 23:18   ` [bug#46728] [PATCH 6/7] gnu: aws-c-event-stream: Update to 0.2.6 Greg Hogan
2021-02-23 23:19   ` [bug#46728] [PATCH 7/7] gnu: aws-sdk-cpp: Update to 1.8.148 Greg Hogan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+3U0Z=v3cOfb=WifVf4_eG=JRQfGHNXkJVxACRzNK_ZM2g-QA@mail.gmail.com' \
    --to=code@greghogan.com \
    --cc=46728@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.