[arch-commits] Commit in ghdl/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun May 17 22:36:42 UTC 2020


    Date: Sunday, May 17, 2020 @ 22:36:41
  Author: ffy00
Revision: 629097

upgpkg: ghdl 0.37-9

Modified:
  ghdl/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-17 22:36:09 UTC (rev 629096)
+++ PKGBUILD	2020-05-17 22:36:41 UTC (rev 629097)
@@ -5,12 +5,13 @@
 _gcc=9.3.0
 _isl=0.22
 pkgver=0.37
-pkgrel=8
+pkgrel=9
 pkgdesc='VHDL simulator'
 arch=('x86_64')
 url='https://github.com/ghdl/ghdl'
 license=('GPL2')
 depends=('gcc-ada')
+checkdepends=('python')
 makedepends=('gmp' 'mpfr' 'libmpc' 'zlib' 'llvm' 'clang')
 provides=('ghdl')
 conflicts=('ghdl')
@@ -56,8 +57,9 @@
       --disable-werror \
       --enable-checks \
       --enable-libghdl \
-      --enable-openieee \
       --enable-synth $@
+
+#      --enable-openieee \
 }
 
 build() {
@@ -115,6 +117,19 @@
       ghdllib
 }
 
+check() {
+  cd $pkgbase-$pkgver/testsuite
+
+  echo 'Running tests for ghdl-mcode...'
+  GHDL="$srcdir"/ghdl-mcode/ghdl_mcode ./testsuite.sh
+
+  echo 'Running tests for ghdl-llvm...'
+  GHDL="$srcdir"/ghdl-llvm/ghdl1-llvm ./testsuite.sh
+
+  echo 'Running tests for ghdl-gcc...'
+  GHDL="$srcdir"/gcc-build/gcc/ghdl ./testsuite.sh
+}
+
 package_ghdl-mcode() {
   pkgdesc="$pkgdesc (mcode backend)"
 



More information about the arch-commits mailing list