[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: Add primesieve.
From: |
guix-commits |
Subject: |
02/10: gnu: Add primesieve. |
Date: |
Sat, 30 Sep 2023 10:11:22 -0400 (EDT) |
monego pushed a commit to branch master
in repository guix.
commit eb871ffd761e119026a7c11a69dda5ef0788c2fa
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Jul 30 11:17:08 2023 -0300
gnu: Add primesieve.
* 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 31fd3cebee..9881ca9aca 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1316,6 +1316,33 @@ plotting engine by third-party applications like
Octave.")
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")
- branch master updated (ee5de9cdf2 -> 9f41aa021f), guix-commits, 2023/09/30
- 02/10: gnu: Add primesieve.,
guix-commits <=
- 03/10: gnu: Add cminpack., guix-commits, 2023/09/30
- 07/10: gnu: ceres: Propagate eigen and gflags., guix-commits, 2023/09/30
- 08/10: gnu: Add python-numpoly., guix-commits, 2023/09/30
- 09/10: gnu: Add python-chaospy., guix-commits, 2023/09/30
- 10/10: gnu: Add python-openturns., guix-commits, 2023/09/30
- 01/10: gnu: Add hmat., guix-commits, 2023/09/30
- 05/10: gnu: Add pagmo., guix-commits, 2023/09/30
- 04/10: gnu: Add bonmin., guix-commits, 2023/09/30
- 06/10: gnu: Add spectra., guix-commits, 2023/09/30