From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aE50Ft3q0Gb2UwAAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Aug 2024 21:40:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aE50Ft3q0Gb2UwAAe85BDQ (envelope-from ) for ; Thu, 29 Aug 2024 23:40:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cpopWbbr; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b="IVC0E/No"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724967645; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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:dkim-signature; bh=9it7hbKjzQzXLTdUDyji4WD5B1zgYBqIFQr6198l0JM=; b=kZqd/lMyIVt5qxmYzJmVltN8BEAHSRh8gt2hC4LCOWSwpsKy+KTFDof0orHsg1jwV7FsEu rWKjaej+n++3qDMM0KrkcuiD49v/ShHazgw9c211CcekDlhQiJBT3GapmaZNHiWpJgwkaZ 7cff0SZW6/S8gkzv6kcGuQ2t4K1J7aSHvIWQE8ogd6+LRPc93UjHMuXVOgTPb03594j53L M9vf0Mh8d8lpeKMbB6cT/DqkhgDLHfmeUa/PtSiBwTyNiVTwL1wcl6AEJgBs/6eXA87tOm 9FBwe5I0c8o8BUctxvVZgOxuxPpziQ6xhVRHkcOEDV4MVfnL7eNUBWeD6HrEag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724967645; a=rsa-sha256; cv=none; b=ILk618L7Cy+1jvD3ZeopFRfqBo8Miz46zjPLZMjMYW2WNnvyTNwz64I/sp4BoN81hc26RU Ve93MAuPt5YF+a+1snTyNVGnfF6oo+ltO6n5sBZI3KVgE/OGyXhSAfLSXaLeNSTKVxVJki j3NQ1TBIfzbmFft4ngNcbiWgs4crQzF6JKhPCCE9mQ8325OgztHXeiKrv7mKgIGX2xj2M0 hZs330sj3iu/mdLZ+430khkqGnLUzok/qjZsGd2XZ/SvvXiRWtLF4aF+gl6j2DLV2sgtwr JhJPAkju1w1cr90o/F5Y69+cc1NI2M866MSkP428Khxqslwn61Ku8XndkICUOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cpopWbbr; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b="IVC0E/No"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 452823CED1 for ; Thu, 29 Aug 2024 23:40:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjmsG-0004yc-KE; Thu, 29 Aug 2024 17:40:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjmsC-0004yE-ED for guix-patches@gnu.org; Thu, 29 Aug 2024 17:40:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjmsB-00079L-4Q for guix-patches@gnu.org; Thu, 29 Aug 2024 17:40:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=9it7hbKjzQzXLTdUDyji4WD5B1zgYBqIFQr6198l0JM=; b=cpopWbbr7Pzzu58nShhUsuvg+yRYrF/9YtGN+Pt0FKEFxcMQLZqUhHloSnkaQgkSkjIGmAwFxUCTpeVpNXAjksE2sNwgHwXP/R5zzW2HB0jpPLdKJvb9dCH6yxSHVZegFAp6eguxbXHsUATeBdkhbpUm91PquYKhZSIXXewO63s83ubCw5LkKhJ2chTVgXWxNRlqDKKbFy676qpBhvPmUj0hGXTlpttAfsyoZjXG09rU8gQXpmbPOPu11EtkJm5PLZDx8qpA8xGOVsUax2gyRxIJlp1N3NrSxV0mBTLE3hfAsCO2a5KQj55ajNyEZvpoXiECVF5xarWpMM0mExrQUw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjmt4-0005j2-UG for guix-patches@gnu.org; Thu, 29 Aug 2024 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72881] [PATCH 3/3] gnu: lcrq: Add compiler optimizations. Resent-From: vagrant@debian.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Aug 2024 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72881 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 72881@debbugs.gnu.org Cc: vagrant@debian.org Received: via spool by 72881-submit@debbugs.gnu.org id=B72881.172496764521947 (code B ref 72881); Thu, 29 Aug 2024 21:41:02 +0000 Received: (at 72881) by debbugs.gnu.org; 29 Aug 2024 21:40:45 +0000 Received: from localhost ([127.0.0.1]:52219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjmsm-0005hv-Es for submit@debbugs.gnu.org; Thu, 29 Aug 2024 17:40:44 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:37748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjmsj-0005hQ-GR for 72881@debbugs.gnu.org; Thu, 29 Aug 2024 17:40:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1724967580; bh=S510RugutKlguKrPckhJxSwfSO5/DjjyR1fkskqSePw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IVC0E/NoVB75kT5jiRMbp0BS4iMUe58yWnwq/wdWqM8uF3WcfPaCahrA2sUijMoWs DotcJzRwfl6IGZN2h5Lc0ODI7xk0KZjtO2aB+iuqKVGSKPQPvLB4qmF1ROrQffd17i qHgKzyhmsAZ5D/TS/OP8cPY9L4dWECp3kvHw7UnDGZzIi9MvoIIzqLnu2oWEUQH/RH W/JoxUrK5alri7lzGJZwUafpfEmSpZxvQUDoWgwIBYynCn4lxQRrHGEgwKD7XzrBS2 wM6o+S2qCgEbq2mKUZbwVNoIQ9bsW8QICOiky2cvC0CqlvBtuLD3FjvLpom8gWG1PF PN6FlP5MLlPwA== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id 39201273B; Thu, 29 Aug 2024 14:39:40 -0700 (PDT) From: vagrant@debian.org Date: Thu, 29 Aug 2024 14:39:20 -0700 Message-Id: <20240829213920.386565-3-vagrant@debian.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240829213920.386565-1-vagrant@debian.org> References: <20240829213920.386565-1-vagrant@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.02 X-Spam-Score: -6.02 X-Migadu-Queue-Id: 452823CED1 X-Migadu-Scanner: mx11.migadu.com X-TUID: 0UDL6sL1uvFP From: Vagrant Cascadian * gnu/packages/networking.scm (lcrq)[arguments]: Pass compiler optimizations to configure. [phases]: Add 'speedtest phase. --- gnu/packages/networking.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 161cd7cb13..e78126b341 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -289,9 +289,20 @@ (define-public lcrq (arguments (list #:parallel-tests? #f + ;; Use recommended optimizations from lcrq README.md + #:configure-flags + #~(list (string-append "CFLAGS=-Wall -Wextra -pedantic -O3 -flto " + "-funroll-loops -ffast-math -DNDEBUG")) #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + ;; Leave some speed comparisons in the build log + (add-after 'check 'speedtest + (lambda _ + (invoke "make" "-C" "test" "speedtest" + (string-append "CC=" #$(cc-for-target)))))) #:test-target "test")) (home-page "https://librecast.net/lcrq.html") (synopsis "Librecast RaptorQ library") -- 2.39.2