Bumped nextpnr-ecp5 Version to 67bd349e_20211717

This commit is contained in:
Aki Van Ness 2021-09-16 20:17:52 -04:00
commit d66b7dc5da
No known key found for this signature in database
GPG key ID: 77F49A56EE669F18
4 changed files with 150 additions and 0 deletions

25
.SRCINFO Normal file
View file

@ -0,0 +1,25 @@
pkgbase = nextpnr-ecp5-nightly
pkgdesc = nextpnr portable FPGA place and route tool - for ecp5
pkgver = 67bd349e_20211717
pkgrel = 1
url = https://github.com/YosysHQ/nextpnr
arch = any
license = custom:ISC
makedepends = git
makedepends = gcc
makedepends = cmake
makedepends = ninja
makedepends = pkgconf
makedepends = gawk
makedepends = eigen
depends = yosys-nightly
depends = prjtrellis-nightly
depends = python
depends = boost-libs
depends = qt5-base
conflicts = nextpnr-git
options = !strip
source = nextpnr::git+https://github.com/YosysHQ/nextpnr.git#commit=67bd349e
sha256sums = SKIP
pkgname = nextpnr-ecp5-nightly

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*
!.gitignore
!PKGBUILD
!PKGBUILD.in
!.SRCINFO

60
PKGBUILD Normal file
View file

@ -0,0 +1,60 @@
# Maintainer: Aki-nyan <aur@catgirl.link>
pkgname=nextpnr-ecp5-nightly
pkgver=67bd349e_20211717
pkgrel=1
pkgdesc="nextpnr portable FPGA place and route tool - for ecp5"
arch=("any")
url="https://github.com/YosysHQ/nextpnr"
license=("custom:ISC")
groups=()
options=("!strip")
depends=(
"yosys-nightly"
"prjtrellis-nightly"
"python"
"boost-libs"
"qt5-base"
)
optdepends=()
makedepends=("git" "gcc" "cmake" "ninja" "pkgconf" "gawk" "eigen")
conflicts=(
"nextpnr-git"
)
replaces=()
source=(
"nextpnr::git+https://github.com/YosysHQ/nextpnr.git"#commit=67bd349e
)
sha256sums=(
"SKIP"
)
_PREFIX="/usr"
prepare() {
cd "${srcdir}/nextpnr"
[ ! -d "${srcdir}/nextpnr/build-ecp5" ] && mkdir build-ecp5
cd ..
}
build() {
cd "${srcdir}/nextpnr"
cd build-ice40
cmake -G Ninja \
-DARCH=ecp5 \
-DBUILD_PYTHON=ON \
-DBUILD_GUI=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=${_PREFIX} \
-DUSE_OPENMP=ON \
..
cd ..
ninja -C build-ecp5
cd ..
}
package() {
cd "${srcdir}/nextpnr"
DESTDIR="${pkgdir}" PREFIX="${_PREFIX}" ninja -C build-ecp5 install
install -Dm644 "${srcdir}/nextpnr/COPYING" "${pkgdir}${_PREFIX}/share/licenses/nextpnr-ecp5/COPYING"
cd ..
}

60
PKGBUILD.in Normal file
View file

@ -0,0 +1,60 @@
# Maintainer: Aki-nyan <aur@catgirl.link>
pkgname=nextpnr-ecp5-nightly
pkgver=@NPR_VER@
pkgrel=1
pkgdesc="nextpnr portable FPGA place and route tool - for ecp5"
arch=("any")
url="https://github.com/YosysHQ/nextpnr"
license=("custom:ISC")
groups=()
options=("!strip")
depends=(
"yosys-nightly"
"prjtrellis-nightly"
"python"
"boost-libs"
"qt5-base"
)
optdepends=()
makedepends=("git" "gcc" "cmake" "ninja" "pkgconf" "gawk" "eigen")
conflicts=(
"nextpnr-git"
)
replaces=()
source=(
"nextpnr::git+https://github.com/YosysHQ/nextpnr.git"#commit=@NPR_HASH@
)
sha256sums=(
"SKIP"
)
_PREFIX="/usr"
prepare() {
cd "${srcdir}/nextpnr"
[ ! -d "${srcdir}/nextpnr/build-ecp5" ] && mkdir build-ecp5
cd ..
}
build() {
cd "${srcdir}/nextpnr"
cd build-ice40
cmake -G Ninja \
-DARCH=ecp5 \
-DBUILD_PYTHON=ON \
-DBUILD_GUI=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=${_PREFIX} \
-DUSE_OPENMP=ON \
..
cd ..
ninja -C build-ecp5
cd ..
}
package() {
cd "${srcdir}/nextpnr"
DESTDIR="${pkgdir}" PREFIX="${_PREFIX}" ninja -C build-ecp5 install
install -Dm644 "${srcdir}/nextpnr/COPYING" "${pkgdir}${_PREFIX}/share/licenses/nextpnr-ecp5/COPYING"
cd ..
}