Package Details: ghdl-gcc-git 0.37dev.git20190907-1

Git Clone URL: https://aur.archlinux.org/ghdl-gcc-git.git (read-only)
Package Base: ghdl-gcc-git
Description: VHDL simulator - GCC back-end
Upstream URL: https://github.com/ghdl/ghdl
Licenses: GPLv2
Conflicts: ghdl, ghdl-llvm-git, ghdl-mcode-git
Provides: ghdl
Submitter: marzoul
Maintainer: marzoul
Last Packager: marzoul
Votes: 3
Popularity: 0.003540
First Submitted: 2015-12-02 22:51
Last Updated: 2019-09-10 16:53

Dependencies (2)

Required by (2)

Sources (3)

Latest Comments

marzoul commented on 2019-08-11 14:25

Hi ak-fau, thank you for the suggestion. It is now in the package.

ak-fau commented on 2019-08-07 13:09

Hello marzoul.

Would you please consider the following patch in order to keep VPI library and its header file in the package.

Thank you,

A.

diff --git a/PKGBUILD b/PKGBUILD
index 2e51661..07eabf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -146,9 +146,11 @@ package() {

    # Remove gcc-specific files, keep only what is related to ghdl
    cd "${pkgdir}"
-   rm -rf "usr/"{include,share/{locale,man}}
+   rm -rf "usr/share/"{locale,man}
+   rm -rf "usr/include/libiberty"
    find "usr/lib" \
        -maxdepth 1 -mindepth 1 -not -name 'gcc' -not -name 'ghdl' \
+       -not -name 'libghdlvpi.so' \
        -exec rm -rf {} +
    find "usr/lib/gcc/${_machine}/${_version}" \
        -maxdepth 1 -mindepth 1 -not -name 'ghdl*' \  

marzoul commented on 2016-11-27 21:40

Should be fixed with my latest hacks.
But it's rather fragile, so I'll contact the developers because what we need could be allowed in a generic way.

marzoul commented on 2016-11-19 10:19

Thanks for reporting! Indeed compilation of libs has changed.
However as-is your fix requires that a version of GHDL with std lib is already installed in the system. I'm investigating...

swolix commented on 2016-11-18 21:51

Hi, vhdl libraries are not installed (anymore?), I made the following changes to the PKGBUILD (although I'm not entirely sure this is the proper way);

diff --git a/PKGBUILD b/PKGBUILD
index 5018274..3e773a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,8 +37,8 @@ md5sums=(
pkgver() {
cd "${srcdir}/ghdl"

- # GHDL version (extracted from version.ads)
- _distver=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' src/version.ads`
+ # GHDL version (extracted from version.in)
+ _distver=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' src/version.in`
# Date of the last git commit
_gitver=`git log -n 1 --date=short | sed -n -e 's/.*Date:\s*\([0-9-]*\).*/\1/p' | tr -d -`

@@ -106,18 +106,27 @@ build() {
#--without-cloog --without-isl

make
+
+ # Build libraries
+ cd ${srcdir}/ghdl
+ make ghdllib
}

package() {
+ # Install toolchain
cd "${srcdir}/gcc-build"
-
- # Make a full install
make DESTDIR="${pkgdir}" install

+ # Install libraries
+ cd ${srcdir}/ghdl
+ make DESTDIR="${pkgdir}" install
+
+ cd "${srcdir}/gcc-build"
+
# Remove gcc-specific files, keep only what is related to ghdl
rm -rf "${pkgdir}"/usr/{share/{locale,gcc-${_gccver},man/man7},include}
find "${pkgdir}"/usr/lib \
- -maxdepth 1 -mindepth 1 -not -name 'gcc' \
+ -maxdepth 1 -mindepth 1 -not -name 'gcc' -and -not -name ghdl \
-exec rm -rf '{}' +
find "${pkgdir}"/usr/lib/gcc/$(./gcc/xgcc -dumpmachine)/${_gccver} \
-maxdepth 1 -mindepth 1 -not -name 'vhdl' -not -name 'ghdl1' \

marzoul commented on 2016-10-30 19:35

Thanks for the comment. I'll push the updates when test compilation is finished.

swolix commented on 2016-10-30 09:50

version.ads seems to be renamed to version.in