nextpnr/yosys updates
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
PYTHON_COMPAT=( python3_13 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=no
|
||||
|
||||
inherit cmake distutils-r1
|
||||
|
||||
S=$WORKDIR/nextpnr-$P
|
||||
|
||||
@@ -24,13 +28,18 @@ DEPEND="ice40? ( sci-electronics/icestorm )
|
||||
dev-cpp/eigen"
|
||||
# gowin? ( sci-electronics/apicula )
|
||||
|
||||
PATCHES="${FILESDIR}/${P}-no-tests-gui.patch"
|
||||
|
||||
src_unpack() {
|
||||
unpack $P.tar.gz
|
||||
rmdir $S/3rdparty/fpga-interchange-schema # $S/3rdparty/abseil-cpp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eapply "${FILESDIR}/${P}-no-tests-gui.patch"
|
||||
cmake_src_prepare
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#-DARCH=generic$(usex ice40 ";ice40" "")$(usex ecp5 ";ecp5" "")$(usex machxo2 ";machxo2" "")$(usex nexus ";nexus" "")$(usex gowin ";gowin" "")
|
||||
local mycmakeargs=(
|
||||
@@ -42,4 +51,14 @@ src_configure() {
|
||||
$(usex gui -DBUILD_GUI=ON "")
|
||||
)
|
||||
cmake_src_configure
|
||||
distutils-r1_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user