nextpnr: Build failing while looking for pytrellis
System: OSX Catalina (mostly fresh install)
While trying to install next-pnr for ECP5 (to use with an ULX3S board) I’m getting stuck at the build phase both while trying to use brew or manual building myself.
On brew I’ve tried to install it using this tap: https://github.com/ktemkin/homebrew-oss-fpga
brew install --HEAD project-trellis yosys nextpnr-trellis fujprog
What I get when it comes to nextpnr-trellis is the following:
-- Looking for C++ include stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Configuring architecture: ecp5
-- Enabled ECP5 devices: 25k;45k;85k
-- Trellis install prefix: /usr/local
-- Searching for pytrellis in: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib;/usr/local/lib;/usr/lib;//lib;/usr/local/Cellar/cmake/3.18.0/lib;/usr/local/Cellar/nextpnr-ecp5/HEAD-b39a2a5/lib;/usr/X11R6/lib;/usr/pkg/lib;/opt/lib;/sw/lib;/opt/local/lib;/usr/lib/X11
CMake Error at ecp5/CMakeLists.txt:64 (message):
Failed to locate the pytrellis library
Similar thing happens when trying to manually build from sources, having built prjtrellis and put it on /opt:
cmake . -DARCH=ecp5 -DCMAKE_INSTALL_PREFIX=/opt/nextpnr -DTRELLIS_INSTALL_PREFIX=/opt -DPYTRELLIS_LIBDIR=/opt/trellis/lib/trellis
Results in the following:
-- Found Boost: /usr/local/include (found version "1.72.0") found components: filesystem program_options iostreams system thread regex chrono date_time atomic
-- Found Boost: /usr/local/include (found version "1.72.0") found components: program_options filesystem system
-- Configuring architecture: ecp5
-- Enabled ECP5 devices: 25k;45k;85k
-- Trellis install prefix: /opt
-- Searching for pytrellis in: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib;/usr/local/lib;/usr/lib;//lib;/usr/local/Cellar/cmake/3.18.0/lib;/opt/nextpnr/lib;/usr/X11R6/lib;/usr/pkg/lib;/opt/lib;/sw/lib;/opt/local/lib;/usr/lib/X11
CMake Error at ecp5/CMakeLists.txt:64 (message):
Failed to locate the pytrellis library
My current setup is mostly fresh as I got this laptop two weeks ago, but I’m surprised I’m not seeing anyone come up with this issue recently. Any clues? Thanks!
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 1
- Comments: 17 (5 by maintainers)
For people who just want to get to programming boards, I had success using the binaries built here: https://github.com/open-tool-forge/fpga-toolchain