-
Notifications
You must be signed in to change notification settings - Fork 39
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
Trouble making CUDD bindings work on MacOS (zdd doesn't at all) #96
Comments
Building the module |
Now on branch
CUDD's configuration summary includes The change needed to compile diff --git a/download.py b/download.py
index 88f09871..d5e68cde 100644
--- a/download.py
+++ b/download.py
@@ -51,7 +51,7 @@ CUDD_CFLAGS = [
'-std=c99',
'-DBSD',
'-DHAVE_IEEE_754',
- '-mtune=native', '-pthread', '-fwrapv',
+ '-pthread', '-fwrapv',
'-fno-strict-aliasing',
'-Wall', '-W', '-O3']
sizeof_long = ctypes.sizeof(ctypes.c_long) This build is with |
Thanks, setting |
I have CUDD installed as a port in /opt and it doesn't seem to have any build options that would break this.
Using the instructions in the README.md, none of that worked for me (DD_FETCH, DD_CUDD). I had to do this to actually get it to build:CFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./python/bin/pip install dd --no-cache-dir --upgrade --verbose
This leaves me with something that can load
dd.cudd
however, none of the zdd stuff works:I don't see any Zdd symbols in the resultant .so file, so I'm guessing this is not getting compiled.
The text was updated successfully, but these errors were encountered: