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

Invalid pkg-config strings #77

Open
wspear opened this issue Feb 22, 2023 · 0 comments
Open

Invalid pkg-config strings #77

wspear opened this issue Feb 22, 2023 · 0 comments

Comments

@wspear
Copy link

wspear commented Feb 22, 2023

At least when installed by spack, we've observed SuperLU 5.3.0 to generate some invalid strings in its {prefix}/lib/pkgconfig/superlu.pc. The libdir value is set to the prefix appended to the libdir. like this:
libdir=/home/wspear/bin/SPACK/spack/opt/spack/linux-ubuntu22.04-westmere/gcc-11.3.0/superlu-5.3.0-e4dr3j4nfn6ry2mikrprlfn5ukgpb4in//home/wspear/bin/SPACK/spack/opt/spack/linux-ubuntu22.04-westmere/gcc-11.3.0/superlu-5.3.0-e4dr3j4nfn6ry2mikrprlfn5ukgpb4in/lib

Which isn't an actual path.

And when configured with intel-mkl the Libs.private value appends all of the paths and libraries together in a semicolon separated blob which pkg-config exports as-is and is not valid compiler input.

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

No branches or pull requests

1 participant