[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65096] [PATCH 02/10] gnu: Add primesieve.
From: |
Vinicius Monego |
Subject: |
[bug#65096] [PATCH 02/10] gnu: Add primesieve. |
Date: |
Sat, 5 Aug 2023 13:31:15 +0000 |
* 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
- [bug#65096] [PATCH 00/10] And OpenTURNS and some math libraries., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 01/10] gnu: Add hmat., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 02/10] gnu: Add primesieve.,
Vinicius Monego <=
- [bug#65096] [PATCH 04/10] gnu: Add bonmin., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 03/10] gnu: Add cminpack., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 05/10] gnu: Add pagmo2., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 06/10] gnu: Add spectra., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 07/10] gnu: ceres: Propagate eigen and gflags., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 08/10] gnu: Add python-numpoly., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 09/10] gnu: Add python-chaospy., Vinicius Monego, 2023/08/05
- [bug#65096] [PATCH 10/10] gnu: Add python-openturns., Vinicius Monego, 2023/08/05