FreeBSD Ports

math/primesieve 12.14,1

Fast prime number generator

Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
math
Package size
131.0 KiB, 458.7 KiB installed

Description

primesieve is a program and C/C++ library that generates primes using a highly optimized sieve of Eratosthenes implementation. It counts the primes below 10^10 in just 0.4 seconds on an Intel Core i7-6700 CPU (4 x 3.4 GHz). primesieve can generate primes and prime k-tuplets up to 2^64.

Install

As a binary package — by origin, or by package name:

pkg install math/primesieve
pkg install primesieve

From the ports tree:

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

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

RUN_DEPENDS=	primesieve>0:math/primesieve
LIB_DEPENDS=	libprimesieve.so:math/primesieve

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:latest12.14,112.14,18.012.9,112.14,1
FreeBSD:14:quarterly12.14,112.14,1n/a12.9,112.14,1
FreeBSD:15:latest12.14,112.14,1n/a12.9,112.9,1
FreeBSD:15:quarterly12.14,112.14,1n/an/an/a
FreeBSD:16:latest12.14,112.14,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.

All build dependencies 15

Configuration

No options to configure.

USES
cmake:testing compiler:c++11-lang
Service scripts
none

Files

Manual pages 1
  • primesieve(1)
pkg-plist 16
  • bin/primesieve
  • include/primesieve.h
  • include/primesieve.hpp
  • include/primesieve/StorePrimes.hpp
  • include/primesieve/iterator.h
  • include/primesieve/iterator.hpp
  • include/primesieve/primesieve_error.hpp
  • lib/cmake/primesieve/primesieveConfig.cmake
  • lib/cmake/primesieve/primesieveConfigVersion.cmake
  • lib/cmake/primesieve/primesieveShared-.cmake
  • lib/cmake/primesieve/primesieveShared.cmake
  • lib/libprimesieve.so
  • lib/libprimesieve.so.12
  • lib/libprimesieve.so.12.14
  • libdata/pkgconfig/primesieve.pc
  • share/man/man1/primesieve.1.gz
distinfo 1
FileSizeSHA256
kimwalisch-primesieve-v12.14_GH0.tar.gz21358465cf173e11bc9aff1b189f2cd19c6b6c502c30e966876b5c5ef71e138f49c8c9

Commit history 0

No commits in the history this site was built from.