-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Build/Install Defaults & Binaries -- Static vs Shared #1587
Comments
The Dockerfile does use the shared builds, but I don't think it uses RPATH, I have to set I don't know if not installing the libraries could affect other ANTsX software, but would need to verify that before making any changes. Perhaps it could be an option, I believe we have a "libs only" option already, I could add "binaries only". |
I was looking at this randomly and noticed that it's mostly not the libs making the distribution large
Might be worth trying to trim executable size by removing unneeded imports |
Related, ANTsX/ANTsPy#346 |
The current default build process is
BUILD_SHARED_LIBS=OFF
which means ANTs binaries are statically built. Despite this,make install
will still install all the libraries, which makes the install huge.For docker containers, binaries, etc, we should either use the shared build (library paths should be handled by RPATH) or not install the libraries during static install.
The text was updated successfully, but these errors were encountered: