Removed GHDL

This commit is contained in:
Torsten Kurbad 2024-12-13 12:58:13 +01:00
parent 97d21a3741
commit 6af924cd50
4 changed files with 0 additions and 153 deletions

View File

@ -1,4 +0,0 @@
AUX ghdl-4.0.0_pre20231218-no-pyunit.patch 689 BLAKE2B 2df3df07e290240b2e99422fda33d2ccee9f01a5f3c3aa3535e40ab66bf5de95cbef3821a3e31b0f36b82f5bc90e078e9d2f9424ea5226f7c671ce4dec571458 SHA512 9149bb90346b0c97683a4ed7056cecb727f4ff9a5b89f8b4046983475cd40937f363438129304c72199442bcc3ad948f2c86cb38b6bd0d314dba9199f34a37a6
DIST ghdl-4.1.0.tar.gz 7704716 BLAKE2B d69791d947ed11b62fac8e076c3b9e1bad606a0de57e8d5bd67c9a8f7ea0cad73643085efbaaa06fabdd5900366334b63385589da72f4db488f5b27b142a76f8 SHA512 0a3a465f7f8ed7fba9b81b5dec2903bf82731c97a127666e7644286c9ea80078354be4e6bf8947a6ef631b646dc7e8e69dce2d9a467ac36ee03c67d9335a2703
EBUILD ghdl-4.1.0-r1.ebuild 1749 BLAKE2B 1f12cd7ef42a6848fccc8c2a893ee38b07dc8cf0eca328feca1b93eba4d8a8b8bbe96ad811773788eb281eee6fa3e9703618dcc1dc68eb7bcce39192a8599c0e SHA512 2f009da5bf91f2fa5f8fe2e12ca0fb22457a1889d90208d5d19a17ea2c48e4ed07c5e9d2a5244ce88f5a0a8abd92e50539e15034746a13ae383f75ccb1c9e49c
MISC metadata.xml 1462 BLAKE2B a403ab50a3463fc26ddfb6ad65aa2cfe9782e98b74cd91fe24ef81678e7c52a2211b0bcad27accc4cd57db281ed23ad5d8697ae69dd8b67c623465949d6d3434 SHA512 4bd4c20a8fbbdaa80a63373f81bd96144e110371403832627aba81a7a95d073ee73922516a6d5c193898affbeb8bd7f1ce9fc4203faa13464cf39ba809c82d5d

View File

@ -1,18 +0,0 @@
diff --git a/testsuite/testsuite.sh.orig b/testsuite/testsuite.sh
index 0c1049f..52da6db 100755
--- a/testsuite/testsuite.sh.orig
+++ b/testsuite/testsuite.sh
@@ -130,9 +130,10 @@ do_test() {
pyunit)
# The Python Unit testsuite: regression testsuite for Python bindings to libghdl
# pyunit/dom fails with python 3.12
- gstart "[GHDL - test] pyunit"
- PYTHONPATH=$(pwd)/.. ${PYTHON:-python3} -m pytest -vsrA pyunit/lsp pyunit/libghdl
- gend
+ # gstart "[GHDL - test] pyunit"
+ # PYTHONPATH=$(pwd)/.. ${PYTHON:-python3} -m pytest -vsrA pyunit/lsp pyunit/libghdl
+ # gend
+ echo "Python Unit testsuite is disabled!"
;;
vests)

View File

@ -1,100 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ADA_COMPAT=( gnat_2021 gcc_13 )
LLVM_COMPAT=( {16..18} ) # Check configure script for supported LLVM versions.
inherit ada edo llvm-r1 toolchain-funcs
DESCRIPTION="Open-source analyzer, compiler, and simulator for VHDL 2008/93/87"
HOMEPAGE="https://ghdl.github.io/ghdl/
https://github.com/ghdl/ghdl/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ghdl/${PN}.git"
else
SRC_URI="https://github.com/ghdl/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-2+"
SLOT="0"
IUSE="llvm +static-libs"
# The LLVM backend requires static libraries to work, see bug: https://bugs.gentoo.org/938171
REQUIRED_USE="${ADA_REQUIRED_USE} llvm? ( static-libs )"
RDEPEND="
${ADA_DEPS}
llvm? (
$(llvm_gen_dep '
sys-devel/llvm:${LLVM_SLOT}=
')
)
"
DEPEND="
${RDEPEND}
"
BDEPEND="
dev-util/patchelf
"
PATCHES=( "${FILESDIR}/${PN}-4.0.0_pre20231218-no-pyunit.patch" )
pkg_setup() {
ada_pkg_setup
use llvm && llvm-r1_pkg_setup
}
src_prepare() {
default
sed -i "s|ar rc|$(tc-getAR) rc|g" Makefile.in || die
}
src_configure() {
tc-export CC CXX
local -a myconf=(
# Build.
--disable-werror
# Install location.
--libdir=$(get_libdir)
--prefix="/usr"
# Features.
--enable-libghdl
--enable-synth
)
if use llvm ; then
myconf+=(
--with-llvm-config="llvm-config"
)
fi
# Not a autotools script!
edo sh ./configure "${myconf[@]}"
}
src_compile() {
default
patchelf --set-soname libghw.so lib/libghw.so || die
}
src_install() {
default
if ! use static-libs ; then
find "${ED}" -type f -name '*.a' -delete || die
fi
}

View File

@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@gentoo.org</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription>
GHDL is a shorthand for G Hardware Design Language (currently, G has no
meaning). It is a VHDL analyzer, compiler, simulator and (experimental)
synthesizer that can process (nearly) any VHDL design. Unlike some other
simulators, GHDL is a compiler: it directly translates a VHDL file to
machine code, without using an intermediary language such as C or C++.
Therefore, the compiled code should be faster and the analysis time should
be shorter than with a compiler using an intermediary language. GHDL can
use multiple back-ends, i.e. code generators, (GCC, LLVM or x86/i386 only,
a built-in one named mcode) and runs on GNU/Linux, Windows and macOS; on
x86, x86_64, armv6/armv7/aarch32/aarch64, ppc64, etc. GHDL aims at
implementing VHDL as defined by IEEE 1076. It supports the 1987, 1993 and
2002 revisions and, partially, 2008 and 2019. Property Specification
Language (PSL) is also partially supported.
</longdescription>
<use>
<flag name="llvm">Build LLVM code generator</flag>
</use>
<upstream>
<bugs-to>https://github.com/ghdl/ghdl/issues/</bugs-to>
<remote-id type="github">ghdl/ghdl</remote-id>
</upstream>
</pkgmetadata>