New Port Request: Primesieve from https://github.com/kimwalisch/primesieve

Kenneth Wolcott kennethwolcott at gmail.com
Sun Dec 17 03:55:14 UTC 2023


Hi Ken C.;

  Thanks, but I could not get it to compile on my machine (M1, Sonoma
14.2). I think I got a link error, don't recall right now.  Another
time I got an assert failure at the link stage.

Ken W.

On Sat, Dec 16, 2023 at 7:37 PM Ken Cunningham
<ken.cunningham.webuse at gmail.com> wrote:
>
> Someone can make a port for this, but here you are for a quickie, to show you how this is done:
>
>
> % sudo port install cmake
>
>
> % git clone --depth=1 https://github.com/kimwalisch/primesieve
> % cd primesieve
> % mkdir build
> % cd build
> % cmake ..
> % make
>
> % ./primesieve 100 --count --print
> 2
> 3
> 5
> 7
> 11
> 13
> 17
> 19
> 23
> 29
> 31
> 37
> 41
> 43
> 47
> 53
> 59
> 61
> 67
> 71
> 73
> 79
> 83
> 89
> 97
> 25
>


More information about the macports-users mailing list