BSD Ports

math/primesum 1.7.19 FreeBSD

Sum of the primes below x

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
math
Package size
135.6 KiB, 379.8 KiB installed

Description

primesum is a command-line program that computes the sum of the primes below an integer x <= 1031 as quickly as possible using a modified version of the combinatorial prime counting function algorithm.

In the other systems

SystemPortVersion
FreeBSDmath/primesum1.7.19
DragonFlymath/primesum1.7.19

Install

Binary package:

pkg install primesum

From the ports tree:

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

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

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

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:latest1.7.191.7.19---
FreeBSD:14:quarterly1.7.191.7.19n/a--
FreeBSD:15:latest1.7.191.7.19n/a--
FreeBSD:15:quarterly1.7.191.7.19n/an/an/a
FreeBSD:16:latest1.7.191.7.19n/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 15

No port depends on this one.

Configuration

No options to configure.

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

Files

pkg-plist 15
  • bin/primesum
  • 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.9
  • lib/libprimesieve.so.9.6.0
  • libdata/pkgconfig/primesieve.pc
distinfo 1
FileSizeSHA256
kimwalisch-primesum-v1.7-19-gac22b96_GH0.tar.gz241887309fdde003b33d0ae7b83e652373eef3ab319ee42988591dcd86e8affb8e4b14

Commit history 0

No commits in the history this site was built from.