soplex
soplex copied to clipboard
Static option to Cmake
I'm working on building completely static versions of soplex and scip. But currently I have had to change the cmake file a bit.
Perhaps there should be an option for static/shared like there is for scip?
Can you possibly elaborate on what you wish to achieve with this? You set the shared C library to static and remove it from the install targets?
Hi @leoneifler,
I'm using a musl-cross-make made GCC compiler that doesn't support dynamic loading. For this reason the soplex cmake build fails.
What I want to achieve is a fully static version of libscip.a to be specific. See this file for my progress: https://github.com/jacobsvante/scipoptsuite-deploy/blob/docker-building/Dockerfile.musl-cross
Update: I see now that I forgot to reply to you regarding the removal of install targets - this was not needed for make install
to succeed with my static-only GCC. So now that's been reverted as you can see in the cmake file.