Package Details: yosys-git 0.9+3627.r10276.e919d0c1-1

Git Clone URL: https://aur.archlinux.org/yosys-git.git (read-only, click to copy)
Package Base: yosys-git
Description: A framework for RTL synthesis
Upstream URL: http://www.clifford.at/yosys/
Keywords: fpga
Licenses: custom:ISC
Conflicts: yosys
Provides: yosys=0.9+3627.r10276.e919d0c1
Submitter: sebo
Maintainer: thasti
Last Packager: thasti
Votes: 13
Popularity: 0.000028
First Submitted: 2015-10-05 19:00
Last Updated: 2020-10-20 17:42

Required by (8)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

ignilux commented on 2020-05-19 15:31

I'm having issues building this from Pamac in a fresh install of Manjaro. Mirrors and package databases are up to date, and the build will consistently fail at the same point. This happens from both the UI and from command line. The failure is in the form of an immediate reboot with no warning or delay, with seemingly nothing wrong once logged back in.

Unfortunately neither journalctl nor the Pamac log seem to have any information that might be helpful, but I did happen to notice that the last few lines printed to the screen are something like:

[94%] abc ... compiling src/misc/zlib
[94%] abc ... compiling src/misc/bzlib

I'd be happy to provide more information if anyone can guide me on how to produce it, and I'd appreciate any and all help I can get.

thasti commented on 2020-05-05 16:24

Thanks for making me aware xiretza, incorporated and also updated the upstream URL for the yosys repo to point to YosysHQ.

xiretza commented on 2020-05-05 15:43

yosys now uses a vendored fork of ABC, so the source needs to be changed to https://github.com/YosysHQ/abc.

marzoul commented on 2020-03-19 22:32

@xiretza The patch is working good, should be worth adding it to the PKGBUILD. Thanks !

xiretza commented on 2020-03-19 21:39

@marzoul: this happens because the Makefile.conf is left over from a previous build; the yosys Makefile doesn't handle this possibility for echo-*-rev targets and prints the information anyway. A quick fix is to add a make config-clean in prepare(). If you want to avoid these kinds of problems entirely in the future, consider building packages in a clean chroot: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

Edit: here's a patch https://gitlab.com/snippets/1955014

marzoul commented on 2020-03-19 21:27

Hi, The package does not build, could you check ?

==> Starting prepare()... error: pathspec '[Makefile.conf] CONFIG := gcc [Makefile.conf] ENABLE_LIBYOSYS=1 [Makefile.conf] ENABLE_PYOSYS=1 ed90ce2' did not match any file(s) known to git ==> ERROR: A failure occurred in prepare().

thasti commented on 2020-01-06 21:12

I checked today and since the pull request has been accepted upstream, the PKGBUILD modification concerning BOOST_PYTHON_LIB is not required anymore.

xiretza commented on 2019-12-29 19:29

The package has some messed up paths (for example, yosys-config --exec echo --cxxflags contains -I/usr/local/share/yosys/include), so here's a patch that fixes the make options (and additionally removes the python patch, which has become unnecessary):

diff --git a/PKGBUILD b/PKGBUILD
index 1ef6caf..e888ce5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,8 +27,7 @@ build(){
     make config-gcc
     echo "ENABLE_LIBYOSYS=1" >> Makefile.conf
     echo "ENABLE_PYOSYS=1" >> Makefile.conf
-    echo "BOOST_PYTHON_LIB=-lboost_python38 -lpython3.8" >>Makefile.conf
-    make
+    make PREFIX="/usr"
 }

 pkgver() {
@@ -38,7 +37,7 @@ pkgver() {

 package() {
     cd ${srcdir}/yosys
-    make PREFIX=$pkgdir/usr/ PYTHON_PREFIX=$pkgdir/usr/ install
+    make PREFIX="/usr" PYTHON_PREFIX="$pkgdir/usr" DESTDIR="$pkgdir" install

     install -D -m 644 \
     "${srcdir}/LICENSE" \

swedishhat commented on 2019-11-26 17:00

It looks like @grahamedgecombe's PR has been approved and is just waiting to be merged. I'm going to update the PKGBUILD with @vogelchr's fix for now and then revert back when upstream merges in the fix.

grahamedgecombe commented on 2019-11-19 21:53

I've submitted a pull request to fix this upstream: https://github.com/YosysHQ/yosys/pull/1504