-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Install into appropriate platform directories #877
Conversation
Via GNUInstallDirs
Thanks @TheChymera this is a good start but it doesn't modify the superbuild codepath we had trouble with in my previous PR. That's the way most people are installing ANTs still. I think this can be addressed if you could provide some detail on how you got your ITK install to honour this lib vs lib64 setting, since we'll need to do something like that to the ITK and VTK in the superbuild. |
This patch was all that was needed (in addition to your logic patch from #867 --- though it seems unrelated) to successfully produce and install the attached file list. Does this seem unlikely, or is anything missing? |
As always, the exact cmake configuration determines which things are built and which things are installed. Your file list does not provide suffcient information on whether this patch works. The exact cmake config is also required. My guess is you are not testing the SuperBuild path since you are specifying USE_SYSTEM_ITK AND USE_SYSTEM_VTK. Most users are using the SuperBuild, which (in the BUILD_SHARED_LIBS config) triggers this codepath: Notice that this still hard-codes a libs directory. Please test this codepath using the ANTs-documented installation instructions. |
@gdevenyi could you provide a link to the install instructions you are referring to, I found no unabbiguous resource in the README. |
@gdevenyi ok, so I gave it a try and it seems to work: |
Hi, The build you logged did not use -DBUILD_SHARED_LIBS so the shared libraries were not installed and so that codepath was not triggered. This line needs to be updated to conform with the lib vs lib64 detection inside CMAKE In addition, the ITK/VTK installs may need to be adjusted so that the staging superbuild install honours lib/lib64, details on the Gentoo ITK/VTK configuration would be helpful here to see how thats handled. |
Trying to enable installation to the correct lib dir for each platform
Addressed in #1062 |
Via
GNUInstallDirs
:@gdevenyi