Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkgconfig #104

Closed
jcapriot opened this issue Dec 21, 2023 · 2 comments · Fixed by #109
Closed

pkgconfig #104

jcapriot opened this issue Dec 21, 2023 · 2 comments · Fixed by #109
Labels

Comments

@jcapriot
Copy link
Contributor

jcapriot commented Dec 21, 2023

Comment:

I would like to put in a request for installed pkgconfig files for the installed mumps. I don't imagine that the source code generates anything, but you could create some simple files for the libraries installed during the conda-forge building steps. As a simple example:

prefix= <-WRITE $PREFIX TO HERE DURING BUILD
exec_prefix=${prefix}
libdir=${prefix}/lib
sharedlibdir=${libdir}
includedir=${prefix}/include

Name: dmumps_seq
Description: The sequential double MUMPS library
Version: <- WRITE THE VERSION STRING TO HERE DURING BUILD
Cflags: -I${includedir}
Libs: -L${libdir} -ldmumps_seq

I also do not know what this would correspond to on windows machines.

@akhmerov
Copy link
Contributor

akhmerov commented Dec 24, 2023

👍 from me. This wouldn't help if the library is provided not via conda-forge, but would greatly simplify conda-forge-based linking. I've given a shot to write a wrapper that uses meson-python for builds , and my solution so far is not pretty.

@minrk
Copy link
Member

minrk commented Jan 20, 2024

@akhmerov I added these in #109. Could you check if they would work for you? I did them for the regular mumps libs, but not mumps_common or pord (it's unclear to me if users need to link those libs directly, since they are linked from the public-facing mumps libs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants