add pkg-config support

Issue #18 resolved
Dmitrii Pasechnik created an issue

It's not clear at all how to divine the version of m4rie in a platform-independent way, once it is installed on a system, e.g. on Debian via apt install libm4rie-dev.

This is desirable in view of e.g. https://trac.sagemath.org/ticket/27330

It’s very easy to add such support using autotools, as you might know.

Comments (7)

  1. Dmitrii Pasechnik reporter

    On Thu, Aug 15, 2019 at 04:07:06PM +0000, Martin Albrecht wrote:

    looks a bit funny that you can openmp compile flags in, but no openmp library to link against.

  2. Dmitrii Pasechnik reporter

    looks good to me otherwise. (For Sage’s purposes, openmp is not relevant, one way or another).

  3. Dmitrii Pasechnik reporter

    On Sat, Aug 17, 2019 at 11:42:51AM +0000, Martin Albrecht wrote: there normally is one, e.g. on Debian Linux it is called libgomp1, it's just not linked in a "normal" way for some reason, but instead via that -fopenmp compiler option... But you're right, it's only a de facto dependence, not a de jure one :-)

  4. Log in to comment