all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 65096@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#65096] [PATCH 02/10] gnu: Add primesieve.
Date: Sat,  5 Aug 2023 13:31:15 +0000	[thread overview]
Message-ID: <20230805133123.1128243-2-monego@posteo.net> (raw)
In-Reply-To: <20230805133123.1128243-1-monego@posteo.net>

* 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





  reply	other threads:[~2023-08-05 13:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05 13:28 [bug#65096] [PATCH 00/10] And OpenTURNS and some math libraries Vinicius Monego
2023-08-05 13:31 ` [bug#65096] [PATCH 01/10] gnu: Add hmat Vinicius Monego
2023-08-05 13:31   ` Vinicius Monego [this message]
2023-08-05 13:31   ` [bug#65096] [PATCH 03/10] gnu: Add cminpack Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 04/10] gnu: Add bonmin Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 05/10] gnu: Add pagmo2 Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 06/10] gnu: Add spectra Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 07/10] gnu: ceres: Propagate eigen and gflags Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 08/10] gnu: Add python-numpoly Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 09/10] gnu: Add python-chaospy Vinicius Monego
2023-08-05 13:31   ` [bug#65096] [PATCH 10/10] gnu: Add python-openturns Vinicius Monego
2023-09-05 14:25 ` [bug#65096] [PATCH 00/10] And OpenTURNS and some math libraries Maxim Cournoyer
2023-09-23 23:11   ` Vinicius Monego
2023-10-03 11:01 ` bug#65096: " Vinicius Monego

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

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

  git send-email \
    --in-reply-to=20230805133123.1128243-2-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=65096@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.