Package Details: ghdl-mcode-git 2.0.0dev.r6076.g9f796794-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: GPLv2
Conflicts: ghdl, ghdl-gcc-git, ghdl-llvm-git
Provides: ghdl=2.0.0dev.r6076.g9f796794, ghdl-git=2.0.0dev.r6076.g9f796794
Submitter: marzoul
Maintainer: marzoul
Last Packager: marzoul
Votes: 1
Popularity: 0.000074
First Submitted: 2015-12-02 23:02
Last Updated: 2021-03-23 22:18

Required by (7)

Sources (1)

Latest Comments

xiretza commented on 2021-03-23 16:06

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

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.