Port details |
- primecount Fast prime counting function implementations
- 7.14 math
=3 7.4_2Version of this port present on the latest quarterly branch. - Maintainer: thierry@FreeBSD.org
 - Port Added: 2021-11-28 17:57:08
- Last Update: 2025-01-27 18:04:53
- Commit Hash: 323340d
- People watching this port, also watch:: wa-aspell, medit, ittapi, php81-pear, apache-log4j2
- License: BSD2CLAUSE
- WWW:
- https://github.com/kimwalisch/primecount
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- primecount>0: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 = 1737904599
SHA256 (kimwalisch-primecount-v7.14_GH0.tar.gz) = d867ac18cc52c0f7014682169988a76f39e4cd56f8ce78fb56e064499b1d66bb
SIZE (kimwalisch-primecount-v7.14_GH0.tar.gz) = 437328
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-core
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.14 27 Jan 2025 18:04:53
    |
Thierry Thomas (thierry)  |
math/primecount: upgrade to v7.14
Releases notes at https://github.com/kimwalisch/primecount/releases |
7.4_2 30 Mar 2023 17:27:26
    |
Yuri Victorovich (yuri)  |
math/primesieve: Downgrade 11.0 → 8.0
This reverts commit 3f7f802f078ba08655c39af2615707e49b5bf202.
math/primesieve was upgrded by mistake when its dependencies
fail to build and can't be upgraded at this time.
Reported by: thierry@ |
7.4_1 29 Mar 2023 04:32:00
    |
Yuri Victorovich (yuri)  |
math/primesieve: Update 8.0 → 11.0
Reported by: portscout |
7.4 13 Mar 2023 00:02:17
    |
Piotr Kubaj (pkubaj)  |
math/primecount: fix build without libomp |
7.4 17 Sep 2022 16:35:39
    |
Thierry Thomas (thierry)  |
math/primecount: upgrade to v7.4
Release notes at
<https://github.com/kimwalisch/primecount/releases/tag/v7.4>. |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
7.3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
7.3 20 Jul 2022 14:22:24
    |
Tobias C. Berner (tcberner)  |
math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Alessando Sagratini <ale_sagra@hotmail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Amarendra Godbole <amarendra.godbole@gmail.com>
* Anders Nordby <anders@FreeBSD.org>
* Andreas Fehlner (fehlner@gmx.de)
* Andrew L. Neporada <andrew@chg.ru>
* Andrey <gugu@zoo.rambler.ru>
* Andrey Zakhvatov (Only the first 15 lines of the commit message are shown above ) |
7.3 16 May 2022 06:49:43
    |
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 |
7.3 04 May 2022 19:30:42
    |
Thierry Thomas (thierry)  |
math/primecount: upgrade to 7.3
Release notes at
<https://github.com/kimwalisch/primecount/releases/tag/v7.3>. |
7.2 23 Dec 2021 22:25:49
    |
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. |
7.2 05 Dec 2021 18:56:58
    |
Thierry Thomas (thierry)  |
math/primecount: upgrade to 7.2
Release notes at
<https://github.com/kimwalisch/primecount/releases/tag/v7.2>. |
7.1 28 Nov 2021 17:55:56
    |
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. |