From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iENFCG9PzmSrAgEASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 15:32:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ANkUCG9PzmSZ7gAA9RJhRA (envelope-from ) for ; Sat, 05 Aug 2023 15:32:31 +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 EB54A41FF0 for ; Sat, 5 Aug 2023 15:32:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ap4PAlOz; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691242351; 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=bnJanRSFLh1N5J8ke2CoUoaiBgnUCxOr/2GzLWu+rtM=; b=dj2D85ZhVru6pXq9yvVyviDqmCoONEhdaWNTFq/CMPl7W6lsx6oh2qLIB54WFzv/HNUS40 zHnZhDW1CcE8Ones7WSd5ic5urneBp4r3i6SFd/SnsuU6zBZ4GhjAZyod4mVRDLM8ijiPH 77KXC4/G7vo10v6BXQ3HTEMNBQ9cJ5ud5iZOeFhD6fhg0BZW9TQbURv7GoVVKaIq6jOeXf JCNAXv/FhyMhjfO1cOndDGIAUpbh2M2oXwKZ+K+H6OU8TTisd8cbM/acyIGmTsi1N5FOGc Lvran9cYAEgmBl9Vj+xska0v3IHCsU0z4Mx6MuLuDg11sE+wwpe0wpouFEheyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ap4PAlOz; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691242351; a=rsa-sha256; cv=none; b=u+sworW0WCFeWYUARP/903AEwMqUWgNRsB9Z2OIRcraIrNfjp0miUJyscyLpmx9lNszYip 6v64AO7YN21t4FpfoCxbaGY3+hvSaxmyqjET+CZdZ8H2Hf81MiWSCswAYcFhd9alJ3ckGo 0FA/3irmawK1CkSS0eNVM5r5a28tL9bgqJ27ssLWXMpKTiKuwCCh+1N1d4+tXIAns/76Ut 7NYOMj6Yt2hW8r45OpsBSmoUjJETtRET5TStevuoiE8LSUinbfqmGnuVmhzRMIPfC8ZRx7 BY8WTXguLaPTy3A+o5F/Zeglo+VzgrHU5+fjq61C0K7uYxcvPmw8AhwmoBieXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHNz-0008Qg-0m; Sat, 05 Aug 2023 09:32:03 -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 1qSHNy-0008QL-CI for guix-patches@gnu.org; Sat, 05 Aug 2023 09:32:02 -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 1qSHNy-0005l7-3m for guix-patches@gnu.org; Sat, 05 Aug 2023 09:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSHNy-0006QE-02 for guix-patches@gnu.org; Sat, 05 Aug 2023 09:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65096] [PATCH 02/10] gnu: Add primesieve. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 13:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65096@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 65096-submit@debbugs.gnu.org id=B65096.169124231324637 (code B ref 65096); Sat, 05 Aug 2023 13:32:01 +0000 Received: (at 65096) by debbugs.gnu.org; 5 Aug 2023 13:31:53 +0000 Received: from localhost ([127.0.0.1]:56197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHNo-0006PI-Qu for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:31:53 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHNm-0006Os-Tt for 65096@debbugs.gnu.org; Sat, 05 Aug 2023 09:31:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5BEE5240029 for <65096@debbugs.gnu.org>; Sat, 5 Aug 2023 15:31:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691242305; bh=UHB8rEdBbT5FSeTJPy519lP/G+ZI4ePNQ9qBM/4lmb4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=Ap4PAlOzRZ0grf4qGUbpX5/OzakZd5U8MPxwWvESoDIDJRhShF/+jV2cRZNUiuoLB 4DEmg9Tm3ivNox77aPNweOjN+OrIOksn+8eBPwNCWooIHcRP7R7NK7hs1K+1ZDic4P ejxc3GzpP0eg4oGYYVGdv4A8CyfiUekLwMBgbA03FXmAQowjTZW45XObb3Z4w6w+af IGMvXxC6YK08Jf0rc75XeV11gFkYApeyrmoWHluBQUpaPGN/XzQty99FXUTBD5SRoJ OSBUTxo8oAxftFQ5HsXOqwa/sOQUFcev/SWHfs8A8aB7fOITYhKBk3sfjFEznzQl/c uFoc1vETgoTjA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJ3QS3nStz6txf; Sat, 5 Aug 2023 15:31:44 +0200 (CEST) From: Vinicius Monego Date: Sat, 5 Aug 2023 13:31:15 +0000 Message-Id: <20230805133123.1128243-2-monego@posteo.net> In-Reply-To: <20230805133123.1128243-1-monego@posteo.net> References: <20230805133123.1128243-1-monego@posteo.net> 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-Queue-Id: EB54A41FF0 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 4.15 X-Migadu-Spam-Score: 4.15 X-TUID: LOauhXS05V45 * gnu/packages/maths.scm (primesieve): New variable. --- gnu/packages/maths.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 7784268453..ed5c766c25 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1317,6 +1317,33 @@ (define-public hmat C++ with a C API. It contains a LU and LLt solver, and a few other things.") (license license:gpl2+))) +(define-public primesieve + (package + (name "primesieve") + (version "11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kimwalisch/primesieve") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ja3kxvpya7bwrib40hnyahsiiiavf65ppk7i7afvc093b7gg9bg")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_STATIC_LIBS=off" + "-DBUILD_TESTS=ON"))) + (home-page "https://github.com/kimwalisch/primesieve") + (synopsis "Prime number generator") + (description "@code{primesieve} is a command-line program and C/C++ + library for quickly generating prime numbers. It is very cache efficient, + it detects your CPU's L1 & L2 cache sizes and allocates its main data + structures accordingly. It is also multi-threaded by default, it uses all + available CPU cores whenever possible i.e. if sequential ordering is not + required. primesieve can generate primes and prime k-tuplets up to 264.") + (license license:bsd-2))) + (define-public gctp (package (name "gctp") -- 2.34.1