From patchwork Sat Sep 24 07:08:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 42901 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 668F827BBEA; Sat, 24 Sep 2022 08:11:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1F27827BBE9 for ; Sat, 24 Sep 2022 08:11:22 +0100 (BST) Received: from localhost ([::1]:42586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obzJp-0000NQ-9y for patchwork@mira.cbaines.net; Sat, 24 Sep 2022 03:11:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obzIY-0000LO-Jl for guix-patches@gnu.org; Sat, 24 Sep 2022 03:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obzIY-0004XL-9l for guix-patches@gnu.org; Sat, 24 Sep 2022 03:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obzIY-0006Qj-3y for guix-patches@gnu.org; Sat, 24 Sep 2022 03:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57675] [PATCH v11 1/8] gnu: Add abseil-cpp-cxxstd17. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Sep 2022 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57675@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 57675-submit@debbugs.gnu.org id=B57675.166400336324646 (code B ref 57675); Sat, 24 Sep 2022 07:10:02 +0000 Received: (at 57675) by debbugs.gnu.org; 24 Sep 2022 07:09:23 +0000 Received: from localhost ([127.0.0.1]:42160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obzHu-0006PR-Qf for submit@debbugs.gnu.org; Sat, 24 Sep 2022 03:09:23 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:53450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obzHs-0006PD-IR for 57675@debbugs.gnu.org; Sat, 24 Sep 2022 03:09:21 -0400 Date: Sat, 24 Sep 2022 15:08:48 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1664003355; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=rXZf8rx19R2FbzJ4250O2kZ5Z1Em9z5N08Nam0kQIe8=; b=bpyTHYOxz900jlookJD7EVfk/xxEP48OZhcEKlQyQcxAf+eteNqjyjNqLW2rWlC4MmDk3C TP355HAdfejVvmfwhxGgo/RNXm5tIuk3btIOwCuSyuEhLq3wSAZsQViLmuPFMa93mVGMfa EJ+BUNQzNaLtDmo9AT+itcJhX9DnffnNkVB5iFtX37P6RMd/naUP5dGxy1Dqy+jx8513uI BVeJTPgwqmh4eqsTdEQA4QMzxh6Uzwm6CFFrHc9kDFwssGIwiI3ifXLQGQ4eJzDlCJLALx dvDFi9lIgt6YWQOUFuwdbwt0qW+VDK5txmrV/DNuc5mlCvKpbCd7kTq+5i7PPQ== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable. --- gnu/packages/cpp.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d03e0bc7e1..5e0646444c 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1041,6 +1041,15 @@ (define-public abseil-cpp `(cons* "-DBUILD_TESTING=ON" (delete "-DABSL_RUN_TESTS=ON" ,flags)))))))) +(define-public abseil-cpp-cxxstd17 + (let ((base abseil-cpp)) + (hidden-package + (package/inherit base + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:configure-flags flags) + #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags)))))))) + (define-public pegtl (package (name "pegtl")