Port details |
- primecount Fast prime counting function implementations
- 7.3 math
=1 7.2Version of this port present on the latest quarterly branch. - Maintainer: thierry@FreeBSD.org
 - Port Added: 2021-11-28 17:57:08
- Last Update: 2022-05-16 06:49:43
- Commit Hash: 2d34c2b
- People watching this port, also watch:: SparseBitSet, py38-cysignals, R-cran-eRm, python
- License: BSD2CLAUSE
- Description:
- primecount is a command-line program and C/C++ library that counts the primes
below an integer x <= 1031 using highly optimized implementations of the
combinatorial prime counting algorithms.
WWW: https://github.com/kimwalisch/primecount
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- For RUN/BUILD depends:
- primecount>0:math/primecount
- For LIB depends:
- libprimecount.so:math/primecount
- To install the port:
- cd /usr/ports/math/primecount/ && make install clean
- To add the package, run one of these commands:
- pkg install math/primecount
- pkg install primecount
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: primecount
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1651687229
SHA256 (kimwalisch-primecount-v7.3_GH0.tar.gz) = 471fe21461e42e5f28404e17ff840fb527b3ec4064853253ee22cf4a81656332
SIZE (kimwalisch-primecount-v7.3_GH0.tar.gz) = 360921
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- libdivide>0 : math/libdivide
- cmake : devel/cmake
- ninja : devel/ninja
- Library dependencies:
-
- libprimesieve.so : math/primesieve
- This port is required by:
- for Libraries
-
- math/py-primecountpy
- Configuration Options:
- No options to configure
- Options name:
- math_primecount
- USES:
- cmake compiler:c++11-lang
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 5
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
16 May 2022 06:49:43 7.3
|
Loïc Bartoletti (lbartoletti)  |
devel/cmake: Update to 3.23.0
Update to 3.23.0.
Fix pkg-plist: using the default share/man location
Release Notes:
https://cmake.org/cmake/help/v3.23/release/3.23.html
PR: 262886
Exp-run by: antoine |
04 May 2022 19:30:42 7.3
|
Thierry Thomas (thierry)  |
math/primecount: upgrade to 7.3
Release notes at
<https://github.com/kimwalisch/primecount/releases/tag/v7.3>. |
23 Dec 2021 22:25:49 7.2
|
Piotr Kubaj (pkubaj)  |
math/primecount: fix build on big-endian
/usr/bin/c++ -DENABLE_DIV32 -Dlibprimecount_EXPORTS
-I/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/include -isystem
/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -MD -MT
CMakeFiles/libprimecount.dir/src/Sieve.cpp.o -MF
CMakeFiles/libprimecount.dir/src/Sieve.cpp.o.d -o
CMakeFiles/libprimecount.dir/src/Sieve.cpp.o -c
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/src/Sieve.cpp
In file included from
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/src/Sieve.cpp:38:
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/include/SieveTables.hpp:63:40:
error: too many arguments provided to function-like macro invocation
constexpr uint64_t bswap64(uint64_t i, uint64_t j = 0, uint64_t n = 0)
^
/usr/include/sys/endian.h:63:9: note: macro 'bswap64' defined here
^
In file included from
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/src/Sieve.cpp:38:
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/include/SieveTables.hpp:65:3:
error: expected expression
return (n == sizeof(uint64_t)) ? j :
^
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/include/SieveTables.hpp:66:21:
error: too many arguments provided to function-like macro invocation
bswap64(i >> 8, (j << 8) | (i & 0xff), n + 1);
^
/usr/include/sys/endian.h:63:9: note: macro 'bswap64' defined here
^
In file included from
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/src/Sieve.cpp:38:
/wrkdirs/usr/ports/math/primecount/work/primecount-7.2/include/SieveTables.hpp:67:2:
error: expected ';' after top level declarator
}
^
;
4 errors generated. |
05 Dec 2021 18:56:58 7.2
|
Thierry Thomas (thierry)  |
math/primecount: upgrade to 7.2
Release notes at
<https://github.com/kimwalisch/primecount/releases/tag/v7.2>. |
28 Nov 2021 17:55:56 7.1
|
Thierry Thomas (thierry)  |
math/primecount: addind fast prime counting function implementations
primecount is a command-line program and C/C++ library that counts the
primes below an integer x ≤ 1031 using highly optimized implementations
of the combinatorial prime counting algorithms.
To be used by SageMath. |
Number of commits found: 5
|