pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ghdl-yosys-plugin: Builds with manual intervention



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Mon Sep 2 09:11:29 2024 +0530
Changeset:	fc9f786499559ba241452a2c88985310d4fbc2f5

Modified Files:
	ghdl-yosys-plugin/DESCR
	ghdl-yosys-plugin/Makefile
	ghdl-yosys-plugin/PLIST
	ghdl-yosys-plugin/TODO

Log Message:
ghdl-yosys-plugin: Builds with manual intervention

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fc9f786499559ba241452a2c88985310d4fbc2f5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ghdl-yosys-plugin/DESCR    | 24 +-----------------------
 ghdl-yosys-plugin/Makefile | 15 ++++++++-------
 ghdl-yosys-plugin/PLIST    |  4 +---
 ghdl-yosys-plugin/TODO     |  2 +-
 4 files changed, 11 insertions(+), 34 deletions(-)

diffs:
diff --git a/ghdl-yosys-plugin/DESCR b/ghdl-yosys-plugin/DESCR
index 878d584ee9..db8d902c8f 100644
--- a/ghdl-yosys-plugin/DESCR
+++ b/ghdl-yosys-plugin/DESCR
@@ -1,23 +1 @@
-TODO: Adjust the following lines from README.md
-
-<p align="center">
-  <a title="GHDL synthesis documentation" href="https://ghdl.github.io/ghdl/using/Synthesis.html";><img src="https://img.shields.io/website.svg?label=ghdl.github.io%2Fghdl&longCache=true&style=flat-square&url=http%3A%2F%2Fghdl.github.io%2Fghdl%2Findex.html";></a><!--
-  -->
-  <a title="Join the chat at https://gitter.im/ghdl1/Lobby"; href="https://gitter.im/ghdl1/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge";><img src="https://img.shields.io/badge/chat-on%20gitter-4db797.svg?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef";></a><!--
-  -->
-  <a title="Docker Images" href="https://github.com/ghdl/docker";><img src="https://img.shields.io/docker/pulls/ghdl/synth.svg?logo=docker&logoColor=e8ecef&style=flat-square&label=docker";></a><!--
-  -->
-  <a title="'push' workflow Status" href="https://github.com/ghdl/ghdl-yosys-plugin/actions/workflows/push.yml";><img alt="'push' workflow Status" src="https://img.shields.io/github/actions/workflow/status/ghdl/ghdl-yosys-plugin/push.yml?branch=master&longCache=true&style=flat-square&label=push&logo=Github%20Actions&logoColor=fff";></a>
-</p>
-
-# ghdl-yosys-plugin: VHDL synthesis (based on [GHDL](https://github.com/ghdl/ghdl) and [Yosys](https://github.com/YosysHQ/yosys))
-
-**This is experimental and work in progress!** See [ghdl.github.io/ghdl: Using/Synthesis](http://ghdl.github.io/ghdl/using/Synthesis.html).
-
-> TODO: Create table with features of VHDL that are supported, WIP and pending.
-
-## Build as a module (shared library)
-
-> On Windows, Yosys does not support loading modules dynamically. Therefore, this build approach is not possible. See [*Build as part of Yosys*](#build-as-part-of-yosys-not-recommended) below.
-
-...
+ghdl-yosys-plugin is a VHDL synthesis plugin based on GHDL and Yosys
diff --git a/ghdl-yosys-plugin/Makefile b/ghdl-yosys-plugin/Makefile
index 4f61f3da63..a42bf2927c 100644
--- a/ghdl-yosys-plugin/Makefile
+++ b/ghdl-yosys-plugin/Makefile
@@ -4,21 +4,22 @@ GITHUB_PROJECT=	ghdl-yosys-plugin
 GITHUB_TAG=	511412f984d64ed7c46c4bdbd839f4b3c48f6fa5
 DISTNAME=	511412f984d64ed7c46c4bdbd839f4b3c48f6fa5
 PKGNAME=	${GITHUB_PROJECT}-0.0.0.224
-CATEGORIES=	# TODO: add primary category
+CATEGORIES=	cad devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=ghdl/}
 DIST_SUBDIR=	${GITHUB_PROJECT}
 
-MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE # or use pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/ghdl/ghdl-yosys-plugin/
-COMMENT=	TODO: Short description of the package
-#LICENSE=	# TODO: (see mk/license.mk)
+COMMENT=	VHDL synthesis plugin based on GHDL and Yosys
+LICENSE=	gnu-gpl-v3
 
 WRKSRC=		${WRKDIR}/ghdl-yosys-plugin-511412f984d64ed7c46c4bdbd839f4b3c48f6fa5
 USE_LANGUAGES=	c c++
 
-USE_TOOLS+=	yosys-config ghdl gmake
+USE_TOOLS+=	gmake
 
-TOOL_DEPENDS=	yosys-[0-9]*:../../devel/yosys
-TOOL_DEPENDS=	ghdl-4*:../../cad/ghdl
+TOOL_DEPENDS+=	yosys-[0-9]*:../../devel/yosys
+
+DEPENDS+=	ghdl-4.*:../../cad/ghdl
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/ghdl-yosys-plugin/PLIST b/ghdl-yosys-plugin/PLIST
index 92ba51a2d7..d6c0eb04a9 100644
--- a/ghdl-yosys-plugin/PLIST
+++ b/ghdl-yosys-plugin/PLIST
@@ -1,4 +1,2 @@
 @comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+share/yosys/plugins/ghdl.so
diff --git a/ghdl-yosys-plugin/TODO b/ghdl-yosys-plugin/TODO
index cf0a3056dd..7889eae66a 100644
--- a/ghdl-yosys-plugin/TODO
+++ b/ghdl-yosys-plugin/TODO
@@ -1 +1 @@
-- Looking for suggestion on buidlinking of yosys headers, committing if someone wishes to look into
+make fails at build stage as it does not find yosys headers. The workaround is to go to ${WRKSRC} and run gmake and then resume.


Home | Main Index | Thread Index | Old Index