unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 70924@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#70924] [PATCH 07/10] gnu: Add primecount.
Date: Mon, 13 May 2024 20:52:12 +0000	[thread overview]
Message-ID: <d7bd4f084396a0c24db5468c42c5a31c316f63b0.1715633288.git.monego@posteo.net> (raw)
In-Reply-To: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net>

* 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





  parent reply	other threads:[~2024-05-13 20:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13 20:50 [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
2024-05-13 20:52 ` [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 02/10] gnu: Add python-calver Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 03/10] gnu: Add python-async-lru Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 04/10] gnu: Add python-isoduration Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 05/10] gnu: Add python-uri-template Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 06/10] gnu: Add python-pyproject-api Vinicius Monego
2024-05-13 20:52   ` Vinicius Monego [this message]
2024-05-13 20:52   ` [bug#70924] [PATCH 08/10] gnu: Add python-primecountpy Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 09/10] gnu: Add python-types-dateutil Vinicius Monego
2024-05-13 20:52   ` [bug#70924] [PATCH 10/10] gnu: Add python-pplpy Vinicius Monego
2024-05-14 15:11 ` [bug#70924] [PATCH 00/10] Add some SageMath standard packages Vinicius Monego
2024-10-24 10:07 ` bug#70924: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d7bd4f084396a0c24db5468c42c5a31c316f63b0.1715633288.git.monego@posteo.net \
    --to=monego@posteo.net \
    --cc=70924@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).