From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mBqHG6AtRmBkUQAA0tVLHw (envelope-from ) for ; Mon, 08 Mar 2021 13:58:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KOlPF6AtRmDkcAAAB5/wlQ (envelope-from ) for ; Mon, 08 Mar 2021 13:58:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1A47D1B284 for ; Mon, 8 Mar 2021 14:58:56 +0100 (CET) Received: from localhost ([::1]:36192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJGPP-0000nZ-6u for larch@yhetil.org; Mon, 08 Mar 2021 08:58:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJGGq-0005m3-DO for guix-patches@gnu.org; Mon, 08 Mar 2021 08:50:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJGGo-0000ZA-NX for guix-patches@gnu.org; Mon, 08 Mar 2021 08:50:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJGGo-0002B2-IW for guix-patches@gnu.org; Mon, 08 Mar 2021 08:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46728] [PATCH 0/7] gnu: aws-sdk-cpp: Update to 1.8.148. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Mar 2021 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46728 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Greg Hogan Cc: 46728@debbugs.gnu.org, Leo Famulari Received: via spool by 46728-submit@debbugs.gnu.org id=B46728.16152113978354 (code B ref 46728); Mon, 08 Mar 2021 13:50:02 +0000 Received: (at 46728) by debbugs.gnu.org; 8 Mar 2021 13:49:57 +0000 Received: from localhost ([127.0.0.1]:42406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJGGj-0002Af-4G for submit@debbugs.gnu.org; Mon, 08 Mar 2021 08:49:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJGGY-0002AJ-3U for 46728@debbugs.gnu.org; Mon, 08 Mar 2021 08:49:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47455) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJGGS-0000Pj-Nl; Mon, 08 Mar 2021 08:49:40 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41012 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJGGR-0003ND-Ro; Mon, 08 Mar 2021 08:49:40 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s75uz1n.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 08 Mar 2021 14:49:38 +0100 In-Reply-To: (Greg Hogan's message of "Tue, 2 Mar 2021 15:13:29 -0500") Message-ID: <87h7lleowd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615211936; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=RoIkcpAGer8koinZ795NnBMDCl/6/BgQv966xHeoMzo=; b=NQFAUiBZSIpwGywEFq38wM2ejJNc3++AHQkdOm8CZYJhY1DCa8sfr3xo/9va9/j+EV+Avk 8+rgM+aHQHnxsQ7QgQO/oWti67D9fWpasSPxdAmE1yrDDahOY5v8c2MQ1lYEijOZunCeZk WCJkcPUQYDnuw3aqNmp1Gh+s6Hx+UXzhUpKumxkOxw5PwU2aCtb77+/V8GY49ZwJMzrmqw +Efv5cg3aatmeNm8qkl+q9B5z4juRm3wWi8vsQ+MKUKSS3uX+5jYo6eh7ZycrQghuHMyWa Ot0ia8N6YEUi2oZPpHKznw3nmUFWFZNUpqOtD+GNdz0s5fhvWfXreRhtTu7Qjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615211936; a=rsa-sha256; cv=none; b=j0dMhOf5fbXcgWsRfddhwxZgO7/JGfJXWOWUwphdSh4x7M3+LZ4VfIpJSfKym4RC8Lxk5W 19CrIFFw6zifAhbEV2NFbbpN7afvuVjOCHbhrhBTwPPIXKN7zkQP8pKO/BG6jnpaolEBDX R8rQDfh6bxONTRkcsb1nhx+HLAODpW7Mk0aSjWOtYVYunOrUGHPz6xiF56SQuyvKxRwKH0 lbaNl/kltMAhlrrMUXM7OaB7J5BTbwPGKgFmdZrANSP744p9qd0JxX/UqkI90jeS7hvg2i CNsLyXBJxlXe8VOmPZhp0aPHJckE4PvDoM0cmAmyUCTAXBEL9fovFCTfOzrJ8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.88 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1A47D1B284 X-Spam-Score: -2.88 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4y/yH9Hqrt6E Hi Greg, Greg Hogan skribis: > On Tue, Mar 2, 2021 at 2:37 PM Ludovic Court=C3=A8s wrote: [...] >> In general, it=E2=80=99s best to build only shared libraries. That allo= ws for >> reduced memory usage, fast security updates via grafts, etc. So if you >> could make the AWS packages build as shared libraries only, that=E2=80= =99d be >> great. >> >> It=E2=80=99s OK to optionally add static libraries, preferably in a sepa= rate >> output or even a separate package, but that=E2=80=99s not what should be= used by >> default. >> >> Does that make sense? > > > Yes, I would prefer to provide shared as the default output and static as= a > separate output to the same package. One option is to not provide static libraries at all, at least for now. They make little sense from a Guix perspective anyway. Would that be an option for you? > There look to be three options: > > 1) separate packages (as with boost and boost-static). This is simple but > not as elegant (boost-static is the eighth most relevant package when guix > search'ing for "boost"). > > 2) duplicate CMake phases in the package definition (much more verbose th= an > with gnu-build-system). This results in considerable duplication of build > system code and is unmaintainable. Can=E2=80=99t CMake build both static and =E2=80=9Cshared=E2=80=9D (-fPIC) = libraries in one go? I think it can do that. > 3) extend the cmake-build-system to optionally configure, build, and > install static libraries with additional phases. The ideal result but > requires modification of the cmake-build-system. In the vast majority of cases, we don=E2=80=99t provide static libraries at all. The only exceptions are when we need statically linked binaries for bootstrapping purposes or within the initrd. HTH, Ludo=E2=80=99.