From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uJBAAxbgO2M9MwAAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 09:26:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UDBFAxbgO2P2MwAAauVa8A (envelope-from ) for ; Tue, 04 Oct 2022 09:26:14 +0200 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 B06BA918C for ; Tue, 4 Oct 2022 09:26:13 +0200 (CEST) Received: from localhost ([::1]:56412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofcJg-00021B-RY for larch@yhetil.org; Tue, 04 Oct 2022 03:26:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofc44-0001Aw-L6 for guix-patches@gnu.org; Tue, 04 Oct 2022 03:10:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofc42-0000pW-L6 for guix-patches@gnu.org; Tue, 04 Oct 2022 03:10:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofc41-0004H4-Vs for guix-patches@gnu.org; Tue, 04 Oct 2022 03:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58261] [PATCH 02/11] gnu: Add pocketfft. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Oct 2022 07:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58261 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: David Elsing , 58261@debbugs.gnu.org Received: via spool by 58261-submit@debbugs.gnu.org id=B58261.166486737516389 (code B ref 58261); Tue, 04 Oct 2022 07:10:01 +0000 Received: (at 58261) by debbugs.gnu.org; 4 Oct 2022 07:09:35 +0000 Received: from localhost ([127.0.0.1]:52218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofc3a-0004GH-Jk for submit@debbugs.gnu.org; Tue, 04 Oct 2022 03:09:34 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:5194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofc3W-0004G5-Hg for 58261@debbugs.gnu.org; Tue, 04 Oct 2022 03:09:32 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4MhTN63MJgz1LXt4; Tue, 4 Oct 2022 09:09:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4MhTN63MJgz1LXt4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1664867366; bh=QDoXefx8xI1FhPywkEIbsmamF32ITE+dqeVABMMVtkg=; h=Subject:From:To:Date:In-Reply-To:References:From; b=lpZAa2uFsGLLIgZ6kSZX8Oyacxuc3lwnBK1puJ4GwJg6ijBcL7n/Z2Ach8FZ6SsMo gvKqeaqsuIajHzfFhaQ+bKcSSJJT9pQDWopiEBy4wbuAE12N8RtmgR0wc6a1dIgMMV 1F2qYyahhIyhX6kCkVKD8g4v2UGgHzHC4cHxYXUY= Message-ID: <1458bec927ed2e86579d05af73d3daf5211fc7ff.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 04 Oct 2022 09:09:25 +0200 In-Reply-To: <885c4723f72f54c6789d62d3b67576a891e85074.1664725832.git.david.elsing@posteo.net> References: <885c4723f72f54c6789d62d3b67576a891e85074.1664725832.git.david.elsing@posteo.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664868373; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=QDoXefx8xI1FhPywkEIbsmamF32ITE+dqeVABMMVtkg=; b=Y4esROt1PnKpPyx/nxgHv5JjPGArXE8t9epWhg5bUuhdH8UrQ9+faJeuhS8/ildGoTnp05 c2v+at7oVL1dyGsUjakBxzAcFtsKJMXG1GtpYY2o1TGrEJcyScmEMjjHkINqIlEKEvfR+i UqV81cZdVSG2BYFZfJ9tyvZ7uVQbPdrdou3knW1EsWrFYTG19BAf/ioSwUhycaMQLGa9Og Fyr0+qhtUon+tOxWN1I7mNF7q29iDKsFOI0ieXf++GoQvCcmwwUaEsA7Z7nRyfdIghtDlW ZnWITkWkiMd8MJke3+5ztZOi8SXVuPSseMK0bbt7nxd8oQIcMh7CgncDmrg6hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664868373; a=rsa-sha256; cv=none; b=PuSfuYy1Yi2ZoyNyE7wgvZTPDwqafut/tkt4sHe0ji6fVmSUxdWB8hNV1+8nj5fMhJT0Pm buRuEML02LJ0g5MS2O3oTncBOQ3Vk4fxwZCo+MyspSjGaCupwTVwEu/+OyKkYIOxQ71vCg FfL5gC/ySUpbrTfwKWJC7rkzyocFdNbGZDXPDwLArEvBDwp5h+YvFYcoCzJ5aTLNkMZqmA 3TM8ZBw7BC15Xu2ugNlVFpUB0qLehyYwNvCCw/paM7fiIiW3xnMmGBQkmL0bl106Y0eoRG cC2XseIx478c4UFhpYyIYvC2R+1BhDVlzpVgElPyg7eT/uAy6gQM9ZbbkWWdaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=lpZAa2uF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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" X-Migadu-Spam-Score: 6.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=lpZAa2uF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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" X-Migadu-Queue-Id: B06BA918C X-Spam-Score: 6.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: H3xamWSeUavU Am Montag, dem 03.10.2022 um 00:19 +0000 schrieb David Elsing: > * gnu/packages/cpp.scm (pocketfft): New variable. > --- > =C2=A0gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++ > =C2=A01 file changed, 26 insertions(+) >=20 > diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm > index e597dba40c..65df317100 100644 > --- a/gnu/packages/cpp.scm > +++ b/gnu/packages/cpp.scm > @@ -1931,3 +1931,29 @@ (define-public fast-float > =C2=A0=C2=A0=C2=A0=C2=A0 (description "@code{fast_float} is a header-only= C++ library > which provides fast > =C2=A0implementations of the from_chars functions for float and double > types.") > =C2=A0=C2=A0=C2=A0=C2=A0 (license (list license:asl2.0 license:expat)))) = ; dual licensed > + > +(define-public pocketfft > +=C2=A0 (let ((commit "daa8bb18327bc5c7d22c69428c25cf5dc64167d3") > (revision "0")) Split into two lines > +=C2=A0=C2=A0=C2=A0 (package > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name "pocketfft") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (version (git-version "0.0.0" revision co= mmit)) I'd simply use "0", but YMMV. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (source (origin > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (method git-fetch) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (uri (git-reference > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "https://github= .com/mreineck/pocketfft") Note that there's also https://gitlab.mpcdf.mpg.de/mtr/pocketfft which is C99-compliant. =20 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit commit))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (file-name (git-file-name name version)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (sha256 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (base32 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > "1dbkkqkmkxgmz1qjpsqzic5ig3qw1pqndbb3dvjc7xq5f2rdzyq1")))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (build-system copy-build-system) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (arguments > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:install-plan > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #~'(("pocketfft_hdronly.h" "i= nclude/")))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (home-page "https://github.com/mreineck/p= ocketfft") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (synopsis "Heavily modified implementatio= n of FFTPack in C++") I'd write out "Fast Fourier Transformation" and perhaps one or two other properties, e.g. "Header-only Fast Fourier Transformation library". > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (description "This package contains the s= ingle-header > PocketFFT library, > +which is an reimplementation of FFTPack with several advantages, > such as > +multidimensional algorithms, different datatypes and vector > instructions.") "This package provides a single-header C++11 library for computing Fast Fourier transformations. It supports multidimensional arrays, different floating point sizes and complex transformations." As for the vector instructions, we should convert the #ifndef POCKETFFT_NO_VECTORS checks to #if POCKETFFT_NO_VECTORS and insert a check that defines it to 1 if unset (for reproducibility of other packages). > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (license license:bsd-3)))) Cheers