You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The Dockerfile does use the shared builds, but I don't think it uses RPATH, I have to set LD_LIBRARY_PATH. This breaks shared Mac OS builds, because the OS does not respect LD_LIBRARY_PATH for security reasons.
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".
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: