Closed h3ssto closed 4 years ago
BuDDy can be downloaded and compiled with the following (the option --fetch
downloads and builds only CUDD):
curl -L https://sourceforge.net/projects/buddy/files/buddy/BuDDy%202.4/buddy-2.4.tar.gz/download -o buddy-2.4.tar.gz
tar -xzf buddy-2.4.tar.gz
cd buddy-2.4/
./configure # as described in the README file of BuDDy
make
make install # installs to `/usr/local/include/` and `/usr/local/lib/`
# The installation location can be changed with `./configure --prefix=/where/to/install`
pip uninstall -y dd
python setup.py install --buddy # passes `-lbdd` to the compiler
and in another directory:
python -c "import dd.buddy"
The relevant lines for compiling the Cython extension dd.buddy
are (the -lbdd
above originates from these lines):
936d460aa3cd79ce47c1fe5a91140447b32f6bfe added the above (https://github.com/tulip-control/dd/issues/50#issuecomment-613483991) installation instructions for BuDDy to the file README.md
.
Python: Python 3.8.2 OS: 5.6.2-arch1-2
python setup.py install --fetch --buddy
installs CUDD and then fails while compiling BuDDy with