BSD Ports

math/primegen 0.97_1 FreeBSD

Small, fast library to generate prime numbers in order

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
math
Package size
13.7 KiB, 64.6 KiB installed

Description

primegen is a small, fast library to generate prime numbers in order. It generates the 50847534 primes up to 1000000000 in just 8 seconds on a Pentium II-350; it prints them in decimal in just 35 seconds.

primegen can generate primes up to 1000000000000000, although it is not optimized for primes past 32 bits. It uses the Sieve of Atkin instead of the traditional Sieve of Eratosthenes.

In the other systems

SystemPortVersion
FreeBSDmath/primegen0.97_1
DragonFlymath/primegen0.97_1

Install

Binary package:

pkg install primegen

From the ports tree:

cd /usr/ports/math/primegen/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	primegen>0:math/primegen

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.97_10.97_10.970.97_10.97_1
FreeBSD:14:quarterly0.97_10.97_1n/a0.97_10.97_1
FreeBSD:15:latest0.97_10.97_1n/a0.97_10.97_1
FreeBSD:15:quarterly0.97_10.97_1n/an/an/a
FreeBSD:16:latest0.97_10.97_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
groff
Service scripts
none

Message after installing

===>   NOTICE:

The primegen port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
primegen-0.97.tar.gz3149154285baf8eed9e421ff2220a2112d38cfb20c1ebef6014ef3f0004c22c95f40d
Master sites 1
  • http://cr.yp.to/primegen/

Commit history 0

No commits in the history this site was built from.