sci-electronics/nextpnr - 0.11.1 (salfter)

Search

Install

Install this version:

emerge -a =sci-electronics/nextpnr-0.11.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-electronics/nextpnr-0.11.1

Or alternatively:

emerge --autounmask-write -a =sci-electronics/nextpnr-0.11.1

Package Information

Description:
portable FPGA place and route tool
Homepage:
https://github.com/YosysHQ/nextpnr
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
0.11.1 8 ~amd64 0
View Raw Ebuild
EAPI=8

inherit cmake git-r3

DESCRIPTION="portable FPGA place and route tool"
HOMEPAGE="https://github.com/YosysHQ/nextpnr"
EGIT_REPO_URI="https://github.com/YosysHQ/nextpnr/"
EGIT_COMMIT=$PN-$PV
LICENSE=ISC
SLOT=0
KEYWORDS="~amd64"
IUSE="ice40 ecp5 machxo2 gowin gui"

# prjoxide removed...not compatible with wd40 profile

DEPEND="ice40? ( sci-electronics/icestorm )
	ecp5? ( sci-electronics/prjtrellis )
	machxo2? ( sci-electronics/prjtrellis )
	gowin? ( sci-electronics/apicula )
	>=sci-electronics/yosys-0.8 
	gui? ( dev-qt/qtbase:6 
               virtual/opengl )
	dev-libs/boost
	dev-cpp/eigen"

src_configure() {
	local mycmakeargs=(
		-DARCH=generic$(usex ice40 ";ice40" "")$(usex ecp5 ";ecp5" "")$(usex machxo2 ";machxo2" "")$(usex nexus ";nexus" "")$(usex gowin ";gowin" "")
		$(usex ice40 "-DICESTORM_INSTALL_PREFIX=/usr" "") 
		$(usex ecp5 "-DTRELLIS_INSTALL_PREFIX=/usr" "")
		$(usex machxo2 "-DTRELLIS_INSTALL_PREFIX=/usr" "")
		$(usex nexus "-DOXIDE_INSTALL_PREFIX=/usr" "")
		$(usex gui -DBUILD_GUI=ON "")
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-electronics/nextpnr | euse -E <flag> -p sci-electronics/nextpnr | euse -D <flag> -p sci-electronics/nextpnr

Global/Standard Flags

gui

Inherited Eclasses

Dependencies

DEPEND

ice40? ( sci-electronics/icestorm )
	ecp5? ( sci-electronics/prjtrellis )
	machxo2? ( sci-electronics/prjtrellis )
	gowin? ( sci-electronics/apicula )
	>=sci-electronics/yosys-0.8 
	gui? ( dev-qt/qtbase:6 
               virtual/opengl )
	dev-libs/boost
	dev-cpp/eigen