<div dir="auto">Sage is only using libprimecount<div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 19 Nov 2021, 15:02 Dima Pasechnik, <<a href="mailto:dimpase@gmail.com">dimpase@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Nov 19, 2021 at 2:51 PM Julien Puydt <<a href="mailto:julien.puydt@gmail.com" target="_blank" rel="noreferrer">julien.puydt@gmail.com</a>> wrote:<br>
><br>
> Le vendredi 19 novembre 2021 à 15:39 +0100, Julien Puydt a écrit :<br>
> > Le vendredi 19 novembre 2021 à 13:10 +0000, Dima Pasechnik a écrit :<br>
> > > Several distros package primecount:<br>
> > > <a href="https://repology.org/project/primecount/versions" rel="noreferrer noreferrer" target="_blank">https://repology.org/project/primecount/versions</a><br>
> > > - and SageMath is about to update it and make standard.<br>
> > > <a href="https://trac.sagemath.org/ticket/25009" rel="noreferrer noreferrer" target="_blank">https://trac.sagemath.org/ticket/25009</a><br>
> > ><br>
> > > Any plans for packaging it in Debian? It only needs a standard C++<br>
> > > toolchain and cmake.<br>
> > > (I can have a go at it, if someone provides some onboarding etc).<br>
> ><br>
> ><br>
> > I had only checked the wanted packages -- but we have primesieve<br>
> > already:<br>
> ><br>
> > <a href="https://tracker.debian.org/pkg/primesieve" rel="noreferrer noreferrer" target="_blank">https://tracker.debian.org/pkg/primesieve</a><br>
> ><br>
> > isn't it the one?<br>
<br>
primesieve (i.e. libprimesieve) is used by primecount (which in turn uses<br>
libprimecount).<br>
<br>
Installing primecount (git repo) from source gives one libraries<br>
libprime[sieve,count], and<br>
executable primecount<br>
<br>
I have not looked into ways to unvendor libprimesieve from primecount.<br>
I guess if it's done, then it's done "cmake way" - cmake has its own<br>
concept of (source?) packages IMHO.<br>
<br>
HTH<br>
Dima<br>
<br>
<br>
><br>
> Ah, but the same upstream has:<br>
><br>
> - primesieve, which is packaged ;<br>
><br>
> - primecount, which might not be, but looks like it provides a<br>
> libprimesieve too.<br>
><br>
> What does sagemath need exactly? If it's the lib, we might already have<br>
> it... or not!<br>
><br>
> I have to admit I'm a bit confused.<br>
><br>
> Cheers,<br>
><br>
> J.Puydt<br>
><br>
> _______________________________________________<br>
> Debian-science-sagemath mailing list<br>
> <a href="mailto:Debian-science-sagemath@alioth-lists.debian.net" target="_blank" rel="noreferrer">Debian-science-sagemath@alioth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath</a><br>
</blockquote></div>