-
Notifications
You must be signed in to change notification settings - Fork 56
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
Discrepency between lib
and lib64
install paths
#428
Comments
thanks ... P.S.
|
does ValeevGroup/kit-cmake@c299edf address this issue? |
@evaleev, yes, that should fix it. Let me know if there's anything you need on my end to test the full-stack solution / if there's anywhere you'd like an extra pair of hands. |
ValeevGroup/BTAS#166 and m-a-d-n-e-s-s/madness#507 should fix the install issues with BTAS and MADNESS, respectively ... let me know what we can do about Umpire |
Looking at it, the hardcoded use of However, I think these PRs will do the trick - the main issue was BTAS installing / checking different locations of the |
yes, you can try #429 to see if this resolves the install issues (at least inherited via BTAS/MADNESS). |
As was introduced in #404 and amended in #426, current CMake best practice is to use
GNUInstallDirs
over hardcoded paths inCMAKE_INSTALL_XYZ
. The issue is that not everyone does this uniformly, so care has to be taken when deciding where install paths actually get delegated to.On some architectures (have yet to figure out how this is decided by
cmake
),GNUInstallDirs
setsCMAKE_INSTALL_LIBDIR
tolib64
rather thanlib
. This is a problem as many of the hardcoded install paths for dependencies assumelib
. With my local (non-GPU) install, that list seems to contain:However, this issue is actualyl a bit deeper as not only to these dependencies not respect
GNUInstallDirs
(which could be argued to be unnecessicary) - they don't respectCMAKE_INSTALL_LIBDIR
, which is a much graver issue.From a top-level install, this can be resolved by hardwiring the install paths upon fetch. For example, I've been able to get (most) of MADNESS to install to a custom
LIBDIR
by adding the linesThe
pkgconfig
still gets installed tolib
, but I suspect that's fixable. I'd assume that. Umpire should be straight forward, butBTAS
is a bit of a pain as it installs ablaspp_header
target tolib
that clashes withblaspp
'slib64
install path and breaks discovery.The alternative is to require that
CMAKE_INSTALL_LIBDIR
islib
to maintain consistency - some people may not like that, but its a short term band-aid that seems to workThe text was updated successfully, but these errors were encountered: