Package Details: ghdl-mcode-git 4.0.0dev.r8602.g97df73f72-1

Git Clone URL: https://aur.archlinux.org/ghdl-mcode-git.git (read-only, click to copy)
Package Base: ghdl-mcode-git
Description: VHDL simulator - mcode back-end
Upstream URL: https://github.com/ghdl/ghdl
Licenses: GPL2
Conflicts: ghdl, ghdl-gcc-git, ghdl-llvm-git
Provides: ghdl, ghdl-git
Submitter: marzoul
Maintainer: marzoul (xiretza)
Last Packager: xiretza
Votes: 2
Popularity: 0.002365
First Submitted: 2015-12-02 23:02 (UTC)
Last Updated: 2023-05-09 19:48 (UTC)

Dependencies (7)

Required by (9)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

xiretza commented on 2021-07-12 12:43 (UTC)

checkdepends now additionally requires 'python-pymetaclasses' 'python-pyattributes' 'python-pyterminalui'.

xiretza commented on 2021-03-23 16:06 (UTC)

Due to upstream changes to the include directory structure, the mkdir/ln hack in check() should be replaced with a make install.vpi.local.

xiretza commented on 2021-02-19 21:09 (UTC)

Hey, mcode and llvm backends now support running make test in-tree with only a minor patch:

diff --git a/PKGBUILD b/PKGBUILD
index 419789f..17b2046 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,22 @@
 # Maintainer: Adrien Prost-Boucle <adrien.prost-boucle@laposte.net>

 pkgname=ghdl-llvm-git
-pkgver=0.37dev.r4250.gd11ad228
+pkgver=2.0.0dev.r6016.gd39d35af
 pkgrel=1
-arch=('any')
+arch=('x86_64')
 pkgdesc='VHDL simulator - LLVM back-end'
 url='https://github.com/ghdl/ghdl'
-license=('GPLv2')
+license=('GPL2')

 provides=("ghdl=$pkgver" "ghdl-git=$pkgver")
 conflicts=('ghdl' 'ghdl-gcc-git' 'ghdl-mcode-git')
 makedepends=('gcc-ada' 'git' 'llvm' 'clang')
+optdepends=(
+       'python-pydecor: for pyGHDL'
+       'python-pyvhdlmodel: for pyGHDL.dom'
+       'gcc-ada: for libghdl'
+)
+checkdepends=('python-pytest' 'python-pydecor' 'python-pyvhdlmodel')

 source=(
        "ghdl::git://github.com/ghdl/ghdl.git"
@@ -49,6 +55,15 @@ build() {
        make
 }

+check() {
+       cd "${srcdir}/ghdl"
+
+       mkdir include
+       ln -s ../src/grt/vpi_user.h include/
+
+       make test
+}
+
 package() {
        cd "${srcdir}/ghdl"

I've also included fixes to license and arch that were found by namcap.