notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
primecount Fast prime counting function implementations
7.3 math on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 7.2Version of this port present on the latest quarterly branch.
Maintainer: thierry@FreeBSD.org search for ports maintained by this maintainer
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:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/primecount-7.3/catalog.mk
  3. /usr/local/share/licenses/primecount-7.3/LICENSE
  4. /usr/local/share/licenses/primecount-7.3/BSD2CLAUSE
  5. bin/primecount
  6. include/primecount.h
  7. include/primecount.hpp
  8. lib/libprimecount.so
  9. lib/libprimecount.so.7
  10. lib/libprimecount.so.7.3
  11. libdata/pkgconfig/primecount.pc
  12. share/man/man1/primecount.1.gz
  13. @owner
  14. @group
  15. @mode
Collapse this list.
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:
Packages (timestamps in pop-ups are UTC):
primecount
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-7.2
FreeBSD:12:amd647.37.2
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3867.37.2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch647.37.2
FreeBSD:13:amd647.37.2
FreeBSD:13:armv6-7.2
FreeBSD:13:armv7--
FreeBSD:13:i3867.37.2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch647.3-
FreeBSD:14:amd647.3-
FreeBSD:14:armv67.3-
FreeBSD:14:armv7--
FreeBSD:14:i3867.3-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. libdivide>0 : math/libdivide
  2. cmake : devel/cmake
  3. ninja : devel/ninja
Library dependencies:
  1. libprimesieve.so : math/primesieve
This port is required by:
for Libraries
  1. math/py-primecountpy

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/kimwalisch/primecount/tar.gz/v7.3?dummy=/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
16 May 2022 06:49:43
 files touched by this commit commit hash:2d34c2bfeaa82867acfa7d73bec9644b2acecbb1  7.3
Loïc Bartoletti (lbartoletti) search for other commits by this committer
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
 files touched by this commit commit hash:5c1eb5710262f7d6bffb03a70dfbd0f533169123  7.3
Thierry Thomas (thierry) search for other commits by this committer
math/primecount: upgrade to 7.3

Release notes at
	<https://github.com/kimwalisch/primecount/releases/tag/v7.3>.
23 Dec 2021 22:25:49
 files touched by this commit commit hash:006829bcdc99fde7f9281eb9fb9c680ff986467c  7.2
Piotr Kubaj (pkubaj) search for other commits by this committer
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
 files touched by this commit commit hash:fb6ad447565acc5cbb9ac2ae75a588073ccfdf78  7.2
Thierry Thomas (thierry) search for other commits by this committer
math/primecount: upgrade to 7.2

Release notes at
<https://github.com/kimwalisch/primecount/releases/tag/v7.2>.
28 Nov 2021 17:55:56
 files touched by this commit commit hash:818abd4c554116d4a6ae6a0c7b722b2617c0f5b2  7.1
Thierry Thomas (thierry) search for other commits by this committer
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