8e236f06f3
PR: 244964
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= nextpnr
|
|
DISTVERSION= g20191026
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
PATCH_SITES= https://github.com/YosysHQ/nextpnr/commit/
|
|
PATCHFILES= b6e2159cecdf79d0d94d0e6a9dda8cef6389cac1.patch:-p1
|
|
|
|
MAINTAINER= manu@FreeBSD.org
|
|
COMMENT= Portable FPGA place and route tool
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NOT_FOR_ARCHS= i386
|
|
NOT_FOR_ARCHS_REASON= clang segfault
|
|
BROKEN_FreeBSD_11_powerpc64= runaway build
|
|
BROKEN_FreeBSD_12_powerpc64= runaway build
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/trellis/database:devel/trellis \
|
|
${LOCALBASE}/share/icebox:devel/icestorm
|
|
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
|
|
libboost_filesystem.so:devel/boost-libs \
|
|
libboost_program_options.so:devel/boost-libs \
|
|
${PY_BOOST}
|
|
|
|
USES= compiler:c++11-lang cmake qt:5 eigen:3 python:3.5+ gl
|
|
USE_QT= buildtools_build core gui opengl qmake_build widgets
|
|
USE_GL= gl glu
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= YosysHQ
|
|
GH_TAGNAME= 5cf0ed5
|
|
GH_TUPLE= YosysHQ:nextpnr-tests:8f93e7e:tests/tests
|
|
|
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
|
|
CMAKE_ARGS= -DARCH="ice40;ecp5" -DTRELLIS_ROOT=${LOCALBASE}/share/trellis/
|
|
|
|
PLIST_FILES= bin/nextpnr-ecp5 \
|
|
bin/nextpnr-ice40
|
|
|
|
.include <bsd.port.mk>
|