From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wKr7Fv4NdWQl2wAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:41:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ONcgFv4NdWSeBAAAG6o9tA (envelope-from ) for ; Mon, 29 May 2023 22:41:34 +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 208BFFC2F for ; Mon, 29 May 2023 22:41:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jf9-00054B-R7; Mon, 29 May 2023 16:40:19 -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 1q3jf0-00050u-H9 for guix-patches@gnu.org; Mon, 29 May 2023 16:40:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3jf0-0001fV-6D for guix-patches@gnu.org; Mon, 29 May 2023 16:40:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jf0-0007pz-2c for guix-patches@gnu.org; Mon, 29 May 2023 16:40:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 06/32] gnu: Add primecount. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168539279529959 (code B ref 56729); Mon, 29 May 2023 20:40:10 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:55 +0000 Received: from localhost ([127.0.0.1]:59278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jek-0007n3-NI for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:55 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.183]:41915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeV-0007jQ-Me for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392777; cv=none; d=strato.com; s=strato-dkim-0002; b=rsmYs8Twln3BebGIISoicJtScxJiCVH9Omv2ijCR9cfaZQmikDb33BaKv1gfrKmMCF Du2dTdEGc/f6+IA2meUl9608rCbZslu+6zSdkWzXQe1Vj/40HJkORw4OJ/ilUODd69YB beYx63ItJEsn/rPY10OATeXXyH6aWl8FZ9/gPfaQOMGn8kWJ0s+BLTghiKbi6rqtZVdx 7GXwf2WFyUUhQZ3pcyGXCGXKe4Ej9hPV9MGsHXGjdqjA4ZjXegzvHAJl/OHsZd3TRD8t wfTrdM+AT0TSFFmoUuuQEoqcdNlVOt5JiikBdpTBrMxHmTczJGMO+ZUvhgdAsmebrbDE lO1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392777; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=gZPrngzpkMQW9uN1dxqIU7OCSqiGYe/Ydvqqbk/DUUI=; b=a9i6eLZXqdaHFJYloOW4F1Lhyq/9rQwd43G6a6nUNEULxTgFGPVcmxt9tsrY7uJykE WCGO0r+fj6Fd95hO+sYZkxHCnbp35UsY1dACQU8KOt3/slhZEapBwcDoDp30MdZfjtzO sg3HSE9ybBiQzODkTQPUF/uZKTcmzdzAIoDr0rWlT8kGLPsR47Yj9jRKsPbDfVNjoqBR C1dcWP5x3TD9HUfLNfkh47nLsq7WCEP+F5huTwyT4/PHfFgtH0Ux5+T2hdomcGNjx5jT uIO0l+dCLOCjgHZnqkDB+iq1JM9y7Ys3TzYeurfkeMVQzgGmWgYzpyn/sx6HGutkW4gq +Qcg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392777; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=gZPrngzpkMQW9uN1dxqIU7OCSqiGYe/Ydvqqbk/DUUI=; b=kmYeChI3WIHahjiZr5KNI/EY5wO/Ot6C3D3N7Wa/3O1EhA4g8lV1mN5y7/xxS7KpDK 5XHe/X9okT03hU04Ty615/XteeiI+D9raq9Y+HYOxcMLrgm0hzlX1mgu8uCZ2OnuePYm ReXvdpAyq8oJ1qbuUabYZbPi+BhuCulzi2aSBj3CcIWbUHlFKLS7ryhZ4cKW1Go5la9T OFdJvv+0BuSbA22Q70/DZaLGxw6OWGoAol4sIgeOddW1NKW2hQyBattJdLODAOwwknGl OgVEXfucgDIS29sdoQSoF2slUjCiefQyKzOQ7qCvetFaFTSQUVY160cW9MPfv5QfSNn7 XxCQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685392777; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=gZPrngzpkMQW9uN1dxqIU7OCSqiGYe/Ydvqqbk/DUUI=; b=JAJpu+3EPrBfnB85KRokROeZktmhh2QRII0/JGqTLPrn+51VX2nC/37DTh42iwK0eJ PcVNkg/NBoQkoz4xWEDA== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvi119VyBPc" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 DYNA|AUTH) with ESMTPSA id z055e6z4TKdbn7H (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 29 May 2023 22:39:37 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:15 +0200 Message-Id: <24a3bffb7b6f7e22c0adf2a3a218592deb48d904.1685391447.git.guix@ikherbers.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: 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 ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685392894; a=rsa-sha256; cv=fail; b=uZAMyFktmn8Ht30UqHdNLm4Ov06WeOs8TTjDEKaZUQnA2oP8SpcLQVOMJzmtym4wEPY2cB kWNSGNUH4LprieGcld+KihjQ6X4l7HkITMwIhRgFYX5IJF0G0ckvLTfqFbJeXaekZdwbx8 6OrVInznSl7fL0jcstYfO6PENX4A7IMI+dZWN54wOwTK9xm4bd2vtmjwDt/P2jrZ+F0M2E RahYbcEh5a9S5wVOG2DLcu0ANEDAkeBhq9dofZImuzmkdy/CjdgCxLwykdjOd4dM/3auGg 1n3yWzX4KwCAjW78nH3447cR2gqe+wgH0mSIKgZ9DvJSIpwBu5ADaxPzComxIw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=kmYeChI3; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=JAJpu+3E; 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=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685392894; 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=gZPrngzpkMQW9uN1dxqIU7OCSqiGYe/Ydvqqbk/DUUI=; b=P1J4HxzbEqMbGBKeUo5PD/g72ARrnKqDp3gRqNp2WvPtBCVCFzXZS1Y52aQuxg90L+6DRL oAnWNojLBTKUV0tuXlJXzWT/E2w79k1mcVlpM+CT8+Lup8FlEgdz6x8OwK65G1XnYY/1F9 ogP4ukMhVIt/n3sYoWPNlU4GSuMNW5lItAgS7fvcDJkLGk9Kiu5Ux6+3SjLEhfP3+Up51k bmQ3wEg/etwRxvraUIZLwB8aOlkOyaGwg9PDAwelwTOl/BC/SiF5nPKEKeGLcIdzwg1o1D gBdQdmpxDLFC0CYO7fRuh3JJKy6a6GR/U6OlwrAv39+hKSknDw/fc6oq+DS1uQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=kmYeChI3; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=JAJpu+3E; 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=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-Migadu-Spam-Score: 2.76 X-Spam-Score: 2.76 X-Migadu-Queue-Id: 208BFFC2F X-TUID: dSmnxBcYFcs1 * gnu/packages/algebra.scm (primecount): New variable. --- gnu/packages/algebra.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 3babf90b3c..68a0427f59 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1901,3 +1901,27 @@ (define-public parform (description (string-append (package-description form) " This package also includes @code{parform}, a version of FORM parallelized using OpenMPI.")))) + +(define-public primecount + (package + (name "primecount") + (version "7.8") + (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 + "0wsnavixdqi3ix3j4nqyi0hmhx309l1360nqrcxw5z60gg6kxaf8")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON" "-DBUILD_TESTS=ON"))) + (home-page "https://github.com/kimwalisch/primecount/") + (synopsis "Fast prime counting function implementations") + (description + "@command{primecount} is a command-line program and C/C++ library that +counts the number of primes ≤ x (maximum 10^31) using highly optimized +implementations of the combinatorial prime counting algorithms.") + (license license:bsd-2))) -- 2.40.1