On Fri, Aug 28, 2020 at 09:29:33AM +0200, Olivier Taïbi wrote: > On Thu, Aug 27, 2020 at 05:27:01PM +0200, Olivier Taïbi wrote: > > More is needed, see > > https://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs > > I have a patch for building the shared library (a shared lib is needed > > in order to use gp2c). I will clean it up, test it and send it here. > > Thanks for looking into porting sage to OpenBSD, I would be interested > > in using it! > > Here is the patch to build the shared library in math/pari. This also > disables gcc over cc preference in the configure script and fixes the > "honor CFLAGS" patch.
Thanks! > > I imagine that in order to port sage many dependencies will need to be > ported first. For gap at least, Kaashif Hymabaccus worked on a port: > https://marc.info/?l=openbsd-ports&m=156200332301577&w=2 > but this has not been imported into the tree. If you need help with > porting SageMath to OpenBSD, I am willing to help. Yes, I am aware of Kaashif's effort (it so happened that he's my former student, I supervised his MSc thesis, where GAP was important), and I did few things to alleviate issues he had with his draft port. (I pointed out that this fix is needed: https://marc.info/?l=openbsd-ports&m=155646111509306&w=2 and I made sure ereadline is understood by GAP's configure: https://github.com/gap-system/gap/pull/3428) Indeed, we should finalise the GAP port. Apart from this, there are many things to do, e.g. updating ecl, creating ports for flint and arb, etc. Best, Dima
