-
Notifications
You must be signed in to change notification settings - Fork 37
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
cray-xpmem.pc: prefix, exec_prefix not set #47
Comments
tzafrir-mellanox
pushed a commit
to tzafrir-mellanox/xpmem
that referenced
this issue
Sep 11, 2024
Add Ubuntu23 VM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
prefix
andexec_prefix
are not set incray-xpmem.pc
; this leaves these variables empty when processed bypkgconf
/pkg-config
, resulting in erroneousincludedir
andlibdir
variables. In my case, a spurious-L/lib
got into my link line for Open MPI, causing my linker to attempt to link to 32-bit versions of libm, libc, etc. into a 64-bit build. Needless to say, that did not go well.This occurs because Autoconf variables are not expanded recursively during substitution. Simply adding the following to the top of
cray-xpmem.pc.in
should be sufficient to fix this.I believe that
module.in
has a similar issue.The text was updated successfully, but these errors were encountered: