Skip to content

Instantly share code, notes, and snippets.

@blakesmith
Last active May 25, 2020 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blakesmith/338c26fec3c84c1521e71902388d0d22 to your computer and use it in GitHub Desktop.
Save blakesmith/338c26fec3c84c1521e71902388d0d22 to your computer and use it in GitHub Desktop.
With Ubuntu 20.04 installed, nextpnr was having trouble finding Python during the build.
After installing libboost-python-dev and python3-dev, I had to configure cmake with (ECP5 arch):
cmake -DARCH=ecp5 -DPYTHONLIBS_VERSION_STRING=3.8 -DPYTHON_INCLUDE_DIR=/usr/include/python3.8 -DTRELLIS_INSTALL_PREFIX=/usr .
make -j4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment