From da8d915d8c2be9e0eb6eb5b5e1ef42db595bcfee Mon Sep 17 00:00:00 2001 From: umarcor Date: Wed, 30 Dec 2020 00:54:18 +0100 Subject: [PATCH] nextpnr: build tests --- mingw-w64-nextpnr/PKGBUILD | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mingw-w64-nextpnr/PKGBUILD b/mingw-w64-nextpnr/PKGBUILD index a0005c1a76..e65ae4e521 100644 --- a/mingw-w64-nextpnr/PKGBUILD +++ b/mingw-w64-nextpnr/PKGBUILD @@ -35,10 +35,6 @@ pkgver() { build() { cd "${srcdir}/${_realname}" - # TODO: - # - add -DBUILD_TESTS=ON - # - uncomment make test in check() - MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" cmake \ -G "MSYS Makefiles" \ -DICESTORM_INSTALL_PREFIX="${MINGW_PREFIX}" \ @@ -50,6 +46,7 @@ build() { -DBUILD_PYTHON=ON \ -DBUILD_GUI=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ + -DBUILD_TESTS=ON \ . cmake --build . --config Release @@ -57,7 +54,7 @@ build() { check() { cd "${srcdir}/${_realname}" - #make test + make test } package() {