Package Details: ghdl-gcc-git 5.0.0dev.r9531.gc49b2038b-1

Git Clone URL: https://aur.archlinux.org/ghdl-gcc-git.git (read-only, click to copy)
Package Base: ghdl-gcc-git
Description: VHDL simulator - GCC back-end
Upstream URL: https://github.com/ghdl/ghdl
Licenses: GPL2
Conflicts: ghdl, ghdl-llvm-git, ghdl-mcode-git
Provides: ghdl, ghdl-git
Submitter: marzoul
Maintainer: marzoul (xiretza)
Last Packager: xiretza
Votes: 7
Popularity: 0.003279
First Submitted: 2015-12-02 22:51 (UTC)
Last Updated: 2024-08-30 16:19 (UTC)

Dependencies (2)

Required by (9)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4

swolix commented on 2016-11-18 21:51 (UTC)

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 (UTC)

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

swolix commented on 2016-10-30 09:50 (UTC)

version.ads seems to be renamed to version.in