On Thu, Aug 27, 2020 at 04:43:35PM +0200, Dima Pasechnik wrote: > On Thu, Aug 27, 2020 at 10:11:11AM -0400, Daniel Dickman wrote: > > > On Aug 27, 2020, at 6:55 AM, Dima Pasechnik <d...@sagemath.org> wrote: > > > > > > The latest pari version is 2.11.4, in the meantime. > > > > > > How can I help to make this update happen? > > > I can certainly post an update to 2.11.4 here, > > > and volunteer to maintain it, if needed. > > > > Hi Dima, the good news is that the latest version of pari is already > > committed to the tree. See the git mirror for example: > > > > https://github.com/openbsd/ports/commits/master/math/pari > Thanks, that's very good news. > > > > > However shared library support would still be welcome per the threads > > you???re looking at. Do you need that for what you???re working on? > > We build a Python extension which uses libpari, namely > https://github.com/sagemath/cypari2 (might be used on its own, in fact). > The latter needs a single-threaded dynamic libpari (single-threaded as Pari's > threads are hard, if not impossibe, to get to collaborate with other > multithreading libs). > > I'll have a look at building it. to build a dynamic library, one needs to patch pari's config/get_dlld
diff --git a/config/get_dlld b/config/get_dlld index b284aee..c0054c0 100644 --- a/config/get_dlld +++ b/config/get_dlld @@ -9,7 +9,7 @@ DLSUFFIX=so soname=.$soname_num do_dll=yes case "$osname" in - gnu*|aix|osf1|solaris|linux|freebsd|netbsd) + gnu*|aix|osf1|solaris|linux|freebsd|netbsd|openbsd) case $pari_release_verbose in *STABLE*) sodest=.$version.$patch;; # released version *DEVELOPMENT*) sodest=.$patch.0.0;; # unstable version Could you add it to the port? I'll let upstream know, hopefully they'll fix it. Dima