Bump
This commit is contained in:
2
sci-electronics/yosys/Manifest
Normal file
2
sci-electronics/yosys/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
AUX yosys-makefile.patch 1497 BLAKE2B 18690acaafc3406e991c596f46cf1fd554c51ffcabcc2d61e8340e9a7bd230d48022b06ac387abc6ba23a7ff45623d4b654af3e597c29ec10384a8c697500ca7 SHA512 57bb4b9681c0bc6f0a8de51ab3c983323a4303360e186df276473d8e0d15ca0347afe7beace984c64711cb60b7482adaf32e4b344b53c67f3074bb7a00da7c5b
|
||||
EBUILD yosys-0.48.ebuild 440 BLAKE2B dce537419fd945cebceab9fbdbf3eedd28061aeecb285764f73dbfdffab781b3441cfaa579a18281c33a5185b978e0cd8d404d31042902794eb82a7b92a69bfd SHA512 66c42b8a33000803856c0779eeac135d19536819230af10ace98a1807a546f75bf237197657e6bb8425beb92850487dd83f2452e4f1c572d2a805132eaa18c5f
|
||||
31
sci-electronics/yosys/files/yosys-makefile.patch
Normal file
31
sci-electronics/yosys/files/yosys-makefile.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
--- a/Makefile 2024-08-14 14:36:42.000000000 -0700
|
||||
+++ a/Makefile 2024-08-14 14:38:01.079046045 -0700
|
||||
@@ -785,27 +785,7 @@
|
||||
.PHONY: check-git-abc
|
||||
|
||||
check-git-abc:
|
||||
- @if [ ! -d "$(YOSYS_SRC)/abc" ]; then \
|
||||
- echo "Error: The 'abc' directory does not exist."; \
|
||||
- echo "Initialize the submodule: Run 'git submodule update --init' to set up 'abc' as a submodule."; \
|
||||
- exit 1; \
|
||||
- elif git -C "$(YOSYS_SRC)" submodule status abc 2>/dev/null | grep -q '^ '; then \
|
||||
- exit 0; \
|
||||
- elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && ! grep -q '\$$Format:%[hH]\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
|
||||
- echo "'abc' comes from a tarball. Continuing."; \
|
||||
- exit 0; \
|
||||
- elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && grep -q '\$$Format:%[hH]\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
|
||||
- echo "Error: 'abc' is not configured as a git submodule."; \
|
||||
- echo "To resolve this:"; \
|
||||
- echo "1. Back up your changes: Save any modifications from the 'abc' directory to another location."; \
|
||||
- echo "2. Remove the existing 'abc' directory: Delete the 'abc' directory and all its contents."; \
|
||||
- echo "3. Initialize the submodule: Run 'git submodule update --init' to set up 'abc' as a submodule."; \
|
||||
- echo "4. Reapply your changes: Move your saved changes back to the 'abc' directory, if necessary."; \
|
||||
- exit 1; \
|
||||
- else \
|
||||
- echo "Initialize the submodule: Run 'git submodule update --init' to set up 'abc' as a submodule."; \
|
||||
- exit 1; \
|
||||
- fi
|
||||
+ exit 0;
|
||||
|
||||
abc/abc$(EXE) abc/libabc.a: check-git-abc
|
||||
$(P)
|
||||
27
sci-electronics/yosys/yosys-0.48.ebuild
Normal file
27
sci-electronics/yosys/yosys-0.48.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="framework for Verilog RTL synthesis"
|
||||
HOMEPAGE="http://www.clifford.at/yosys/"
|
||||
EGIT_REPO_URI=https://github.com/YosysHQ/yosys
|
||||
EGIT_COMMIT=v$PV
|
||||
LICENSE=ISC
|
||||
SLOT=0
|
||||
KEYWORDS=amd64
|
||||
PATCHES=( $FILESDIR/$PN-makefile.patch )
|
||||
|
||||
DEPEND="dev-vcs/git
|
||||
media-gfx/xdot
|
||||
dev-libs/boost
|
||||
llvm-core/clang"
|
||||
|
||||
src_compile()
|
||||
{
|
||||
emake DESTDIR="$D" PREFIX=/usr
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
emake DESTDIR="$D" PREFIX=/usr install
|
||||
}
|
||||
Reference in New Issue
Block a user