From patchwork Fri Sep 2 15:29:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 42151 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 A071927BBEA; Fri, 2 Sep 2022 16:30:31 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 35B4827BBE9 for ; Fri, 2 Sep 2022 16:30:31 +0100 (BST) Received: from localhost ([::1]:35478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU8co-0004pA-0g for patchwork@mira.cbaines.net; Fri, 02 Sep 2022 11:30:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8cN-0004ki-SB for guix-patches@gnu.org; Fri, 02 Sep 2022 11:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU8cN-0007XS-J5 for guix-patches@gnu.org; Fri, 02 Sep 2022 11:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU8cN-00086s-Dv for guix-patches@gnu.org; Fri, 02 Sep 2022 11:30:03 -0400 Subject: bug#57291: New package: fftgen Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 02 Sep 2022 15:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 57291 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Gabriel Wicki Cc: 57291-done@debbugs.gnu.org Mail-Followup-To: 57291@debbugs.gnu.org, ludo@gnu.org, gabriel@erlikon.ch Received: via spool by 57291-done@debbugs.gnu.org id=D57291.166213260131126 (code D ref 57291); Fri, 02 Sep 2022 15:30:03 +0000 Received: (at 57291-done) by debbugs.gnu.org; 2 Sep 2022 15:30:01 +0000 Received: from localhost ([127.0.0.1]:47487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8cK-00085x-QB for submit@debbugs.gnu.org; Fri, 02 Sep 2022 11:30:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8cI-00085k-TM for 57291-done@debbugs.gnu.org; Fri, 02 Sep 2022 11:29:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8cC-0007NY-N6; Fri, 02 Sep 2022 11:29:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ZQrKBK0yOPGad03xXrppHxqmCDKF3owWZqzxfwvqkWU=; b=F/zaNEDHerXCfaHP6Nnz bCa0qEpLe7qrpDqQfuakxbnoxQfE9BIAVLkIuwbhzFW6vZFkuA/cY86+fxSZ+iqGcFwdRUuXzvEoR Gv0dQtBJ2wwxep4+l6Sbbb/AqD+fl2CV3hH2vKy6Ktv6jpQfERou/qeKv0w0M8J7jB1Eib6zVtNFy kTLLOqOIRRHu6T5dMYyBlXdekEs94fwkWfZT0PBjVYbKZ1iv4Sq25a4DuwrNs8pL2wtsgcZISosie pNgU5YEcuB/OxGBxX92V+pfvDBKX3oiJ5fsddUQdTWt/nr5ABfpTbaLfYHl5ybf6i2pjGHPn9b8u6 MBp1IAsywcyAQA==; Received: from [193.50.110.177] (port=37692 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8cB-0002ks-78; Fri, 02 Sep 2022 11:29:52 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20220818231841.vncyowy57s2awb74@silvi> Date: Fri, 02 Sep 2022 17:29:49 +0200 In-Reply-To: <20220818231841.vncyowy57s2awb74@silvi> (Gabriel Wicki's message of "Fri, 19 Aug 2022 01:18:41 +0200") Message-ID: <87zgfhu74i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches Hi, Gabriel Wicki skribis: >>From 189ae40cb6104ac703f0171e32fe88208f9fcc25 Mon Sep 17 00:00:00 2001 > From: Gabriel Wicki > Date: Fri, 19 Aug 2022 01:14:06 +0200 > Subject: [PATCH] gnu: Add fftgen. > > * gnu/packages/fpga.scm (fftgen): New variable. Applied with the minor changes below, thanks! Ludo’. diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index e1ae577c65..58b81bf83a 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -554,7 +554,7 @@ (define-public verilator (license license:lgpl3))) (define-public fftgen - (let ((commit "1d75a992efd0528edea128a903aafdabe133cb08") + (let ((commit "1d75a992efd0528edea128a903aafdabe133cb08") ;no releases (revision "0")) (package (name "fftgen") @@ -564,22 +564,23 @@ (define-public fftgen (uri (git-reference (url "https://github.com/ZipCPU/dblclockfft") (commit commit))) - (file-name (git-file-name name - (string-take commit 8))) + (file-name (git-file-name name version)) (sha256 (base32 "0qq874yalzpjdwnxhc5df8a0ifywv29wcncb09945x56xplvkcmd")))) (build-system gnu-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ;no tests + #:make-flags '("CFLAGS=-g -O2") ;default flags lack -O2 #:phases (modify-phases %standard-phases (delete 'configure) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "sw/fftgen" bin) #t)))))) - (synopsis "Generic Pipelined FFT Core Generator") - (description "fftgen produces FFT hardware designs in Verilog.") + (install-file "sw/fftgen" bin))))))) + (synopsis "Generic pipelined FFT core generator") + (description "fftgen produces @acronym{FFT, fast-Fourier transforms} +hardware designs in Verilog.") (home-page "https://zipcpu.com/") - (license license:lgpl3)))) + (license license:lgpl3+))))