Files

33 lines
1.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
github.setup kimwalisch primesieve 12.4 v
github.tarball_from archive
checksums rmd160 dafb066647154abbba2c375e440dfebb2668e906 \
sha256 eb7081adebe8030e93b3675c74ac603438d10a36792246b274c79f11d8a987ce \
size 141828
categories math
maintainers nomaintainer
description Fast C/C++ prime number generator
long_description Primesieve is a C/C++ library that generates prime numbers using \
a highly optimized sieve of Eratosthenes implementation. It supports \
segmented sieving and is designed to generate primes in parallel.
homepage https://primesieve.org/
license BSD
compiler.cxx_standard 2017
configure.pre_args-replace -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
configure.args-append -DBUILD_TESTS=ON
test.run yes
test.cmd ctest
test.target