-
Notifications
You must be signed in to change notification settings - Fork 135
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
Support shared library in build system #40
Comments
I can port this from Kissat, where a similar feature, was added, but we are in the middle of "FMCAD'21" release and that has higher priority. So this will take at least one more release to put in. |
Can you elaborate on your use case and application? In another enhancement thread I explained why I am hesitant to spent the work without knowing how it is is really used. Developers I know that work with CaDiCaL get away by picking up the source code directly and/or building their own scripts to link and include the CaDiCaL library (which might need specific configuration options such as '-fPIC' - see './configure -h' for more information). |
In our case, we wat to use CaDiCaL from a .NET-based SAT formulation library (https://github.com/deiruch/SATInterface) and deploy that on Linux (x64). .NET can load dynamic libraries. |
Well, for example, I could call it from Python in my thesis:
Btw, could you also specify soname for shared library? |
This looks cool. Do you have some simple python sample code? Do you mean with "specify soname" do have an option for configure to give that name? I am not sure why you want that (unless we also add an In Kissat I have |
Oh, of course, no:) I only ask you to specify soname for your library:) For example, like this:
Cool! |
But do not drop out the static library, please. cbmc uses it |
Hi!
I wanted to request the ability to build a shared library (
.so
,.dll
etc) using the built in build system, alongside the static library and executables.I can dig into the build system and try to add this, but if it's something you can do easily I'd much appreciate it! It'd be great if Kissat and Satch also supported this (hopefully for both the IPASIR and full C++ libraries. CryptoMiniSAT does this with a
libcryptominisat
andlibcryptominisat_simple
I believe).The text was updated successfully, but these errors were encountered: