From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yFtzBA1+QmYkEgEAqHPOHw:P1 (envelope-from ) for ; Mon, 13 May 2024 22:54:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yFtzBA1+QmYkEgEAqHPOHw (envelope-from ) for ; Mon, 13 May 2024 22:54:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ediQN4Kp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715633677; h=from:from:sender:sender: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: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=EmUMgZyf98A0h6tMPF21VZ9Sz64nZNobh758bcJZIzY=; b=X778uMj7OwCdq5bawEME6bazMCttKnsqDcbb2Ifb138FZopsBenF0OCFLWlUvyyjjc2bXZ sPRPfDa84CKKYHfP5MuedINFV3q1E2pUDNLN/8HP/vBtj+bzWOgbN0X/lhP+m7+zbuZiI5 HdY4wcsirobvA9jlFkLvGACOLgsPXxGO71B0aYaTzhl7eWLrwVY6W6alJ8ZEk11Plx6Zf8 Lbie2VVamKlpoVtuyL4xIw53TUOprFAmLOWsHXgahrlCW3w/CeLhxhRaHbuTjDRqmeNSwV DSpcXQGSEECRcHY84bDieCoNrRd5ZV0pMTyFn1HZ9MCWjHuhewbdQRO4M0hubw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715633677; a=rsa-sha256; cv=none; b=WxtX7BQzBjQMu2kJVYMbPO5C4AIOWsH43N8A52SuwBLdTACmv4e8lJtIyTxw/4PbP9WGni k0016HRKYyrw9Uxb3aiPQsld9zZxbuxxxqNtiF5d6vAWuEx2yGGX+IK581r20r18B4n5vE c4ZfXO/0m1K813SwVtc+NgikjadAzMKvaJOy1XBOK+Oo2bq+ZV+Kg+fOdCli7oSJ+pawDY MLlB63ayxjKVcmNtuvhbGCuMAs22q9yA7/ZM0kSiLsgONhDhSuQYkMjlbQz/4OttRRjlBT 0bDLHOELVvF2NdQjUN84+usJ3KAzgoFawA4X/67Y+07KCOgAd9AsacZEclilQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ediQN4Kp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" 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 ED2954A0F for ; Mon, 13 May 2024 22:54:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6cgP-00015f-RN; Mon, 13 May 2024 16:54:05 -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 1s6cgO-00013z-Gb for guix-patches@gnu.org; Mon, 13 May 2024 16:54:04 -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 1s6cgO-0000Rd-7J for guix-patches@gnu.org; Mon, 13 May 2024 16:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6cgO-0000mM-Rr for guix-patches@gnu.org; Mon, 13 May 2024 16:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70924] [PATCH 07/10] gnu: Add primecount. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 May 2024 20:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70924 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70924@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 70924-submit@debbugs.gnu.org id=B70924.17156336172908 (code B ref 70924); Mon, 13 May 2024 20:54:04 +0000 Received: (at 70924) by debbugs.gnu.org; 13 May 2024 20:53:37 +0000 Received: from localhost ([127.0.0.1]:34890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6cfx-0000kq-A0 for submit@debbugs.gnu.org; Mon, 13 May 2024 16:53:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6cfv-0000kX-Uu for 70924@debbugs.gnu.org; Mon, 13 May 2024 16:53:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6B4D0240101 for <70924@debbugs.gnu.org>; Mon, 13 May 2024 22:53:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715633609; bh=bvVpOcawUv9nGZFSqDsW9grdYL8V5lTVXELaVk4aZvQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ediQN4Kp/i6OIfLw5aIWIO4/BOKYrY3/DvGgr9vNhDmfWL5tsnHEsEJq8aJ/Q/vbC 4D9NMv+xySsMOTfA2sf8b4gC4mOQK+6ASMyAV0AVeUdr5n1OCtEkgvFMW7V3lLZwEc AWnLRpd1nQy5LeE6kuH0gNNDWhkOSuyexibyBQO2ze+lRtkH0YFTJa8vdsVPjQwUey eKrHSpRYXY+F/+VIpI+cUOi4dGuXr0c14aUUACHTsNWOSQCIj0OguxLzFFjvx5CXLS UGbkaV59KMKsLJhV1wEVPG2pKBZjI6UI4O1VSWLfLu+GDtnKSZK4VJYwd+JsVDNyn2 00LmN5cpCniQA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VdWt03yNmz9rxK; Mon, 13 May 2024 22:53:28 +0200 (CEST) From: Vinicius Monego Date: Mon, 13 May 2024 20:52:12 +0000 Message-Id: In-Reply-To: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net> References: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: -1.47 X-Spam-Score: -1.47 X-Migadu-Queue-Id: ED2954A0F X-Migadu-Scanner: mx11.migadu.com X-TUID: u1YSncAX2jxN * gnu/packages/maths.scm (primecount): New variable. Change-Id: I03692a1be46cc4d0f3eabe95a3f76719a5c63d83 --- gnu/packages/maths.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index b7ebb2019c..1740a55cf4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1335,6 +1335,31 @@ (define-public feedgnuplot in the terminal or with an external viewer.") (license license:gpl1+))) ;any version +(define-public primecount + (package + (name "primecount") + (version "7.13") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kimwalisch/primecount") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v3zm6mw4fb6a33zi542x94w1nd54rvn7r8dav670jm9dn60jfsn")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DBUILD_STATIC_LIBS=OFF" + "-DBUILD_TESTS=ON"))) + (home-page "https://github.com/kimwalisch/primecount") + (synopsis "Fast prime counting function implementations") + (description "@code{primecount} is a command-line program and C/C++ +library that counts the number of primes ≤ x (maximum 1031) using highly +optimized implementations of the combinatorial prime counting algorithms.") + (license license:bsd-2))) + (define-public giza (package (name "giza") -- 2.39.2