From 95f646d23fdecfa71aac7e7771f2c048bfdb5b7c Mon Sep 17 00:00:00 2001 From: aki-nyan Date: Sat, 19 Feb 2022 08:50:55 +0100 Subject: [PATCH] Bumped nextpnr-nexus-nightly Version to 20220219_347ba3a --- .SRCINFO | 6 +++--- PKGBUILD | 16 +++++++++------- PKGBUILD.in | 14 ++++++++------ 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 49a6ea71d92de..b5e4bc67dbfc7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,10 +1,10 @@ pkgbase = nextpnr-nexus-nightly pkgdesc = nextpnr portable FPGA place and route tool - for nexus - pkgver = fd2d4a8f_20211125 + pkgver = 20220219_347ba3a pkgrel = 1 epoch = 1 url = https://github.com/YosysHQ/nextpnr - arch = any + arch = x86_64 license = custom:ISC makedepends = git makedepends = gcc @@ -21,7 +21,7 @@ pkgbase = nextpnr-nexus-nightly depends = qt5-base conflicts = nextpnr-git options = !strip - source = nextpnr::git+https://github.com/YosysHQ/nextpnr.git#commit=fd2d4a8f + source = nextpnr::git+https://github.com/YosysHQ/nextpnr.git#commit=347ba3a sha256sums = SKIP pkgname = nextpnr-nexus-nightly diff --git a/PKGBUILD b/PKGBUILD index 22292fdf71e1e..a0a2621a301e5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: Aki-nyan pkgname=nextpnr-nexus-nightly -pkgver=fd2d4a8f_20211125 +pkgver=20220219_347ba3a pkgrel=1 epoch=1 pkgdesc="nextpnr portable FPGA place and route tool - for nexus" -arch=("any") +arch=("x86_64") url="https://github.com/YosysHQ/nextpnr" license=("custom:ISC") groups=() @@ -24,7 +24,7 @@ conflicts=( ) replaces=() source=( - "nextpnr::git+https://github.com/YosysHQ/nextpnr.git"#commit=fd2d4a8f + "nextpnr::git+https://github.com/YosysHQ/nextpnr.git#commit=347ba3a" ) sha256sums=( "SKIP" @@ -34,7 +34,6 @@ _PREFIX="/usr" prepare() { cd "${srcdir}/nextpnr" [ ! -d "${srcdir}/nextpnr/build-nexus" ] && mkdir build-nexus - cd .. } build() { @@ -48,9 +47,12 @@ build() { -DCMAKE_INSTALL_PREFIX=${_PREFIX} \ -DUSE_OPENMP=ON \ .. - cd .. - ninja -C build-nexus - cd .. + ninja +} + +check() { + cd "${srcdir}/nextpnr" + ninja -C build-nexus test } package() { diff --git a/PKGBUILD.in b/PKGBUILD.in index 3c08bb77eec8c..bb7be0f0cd243 100644 --- a/PKGBUILD.in +++ b/PKGBUILD.in @@ -5,7 +5,7 @@ pkgver=@NPR_VER@ pkgrel=1 epoch=1 pkgdesc="nextpnr portable FPGA place and route tool - for nexus" -arch=("any") +arch=("x86_64") url="https://github.com/YosysHQ/nextpnr" license=("custom:ISC") groups=() @@ -24,7 +24,7 @@ conflicts=( ) replaces=() source=( - "nextpnr::git+https://github.com/YosysHQ/nextpnr.git"#commit=@NPR_HASH@ + "nextpnr::git+https://github.com/YosysHQ/nextpnr.git#commit=@NPR_HASH@" ) sha256sums=( "SKIP" @@ -34,7 +34,6 @@ _PREFIX="/usr" prepare() { cd "${srcdir}/nextpnr" [ ! -d "${srcdir}/nextpnr/build-nexus" ] && mkdir build-nexus - cd .. } build() { @@ -48,9 +47,12 @@ build() { -DCMAKE_INSTALL_PREFIX=${_PREFIX} \ -DUSE_OPENMP=ON \ .. - cd .. - ninja -C build-nexus - cd .. + ninja +} + +check() { + cd "${srcdir}/nextpnr" + ninja -C build-nexus test } package() {