Package Details: yosys-git 0.19+20.r11686.12b0ce972-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: https://yosyshq.net/yosys/
Keywords: fpga
Licenses: custom:ISC
Conflicts: yosys
Provides: yosys
Submitter: sebo
Maintainer: thasti
Last Packager: thasti
Votes: 17
Popularity: 0.000071
First Submitted: 2015-10-05 19:00 (UTC)
Last Updated: 2022-07-22 20:33 (UTC)

Dependencies (11)

Required by (12)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

thotypous commented on 2024-05-09 13:12 (UTC)

The package does not build since yesterday because echo-abc-rev target does not exist anymore.

Now abc is handled as a git submodule. Therefore,

  • The prepare() function should be removed.

  • The build() function should be replaced by:

build() {
    cd "${srcdir}/yosys"

    git submodule init
    git config submodule.abc.url "$srcdir/abc"
    git -c protocol.file.allow=always submodule update

    make config-gcc
    echo "ENABLE_LIBYOSYS=1" >> Makefile.conf
    echo "ENABLE_PYOSYS=1" >> Makefile.conf
    echo "ABCPULL=0" >> Makefile.conf

    make PREFIX="/usr"
}

Forty-Bot commented on 2022-08-03 22:37 (UTC)

Please change ln -s to ln -sf when creating the link to abc. This prevents the error

ln: failed to create symbolic link './abc': File exists

when rebuilding.

thasti commented on 2022-07-22 20:35 (UTC)

@xiretza: Done, thanks for the hint!

xiretza commented on 2022-07-22 10:38 (UTC)

Can you change the url= to https://yosyshq.net/yosys/? The old domain is dead(named).

xiretza commented on 2022-01-06 19:56 (UTC)

@widlarizer: This is the Arch user repository. Of course nobody can stop you from using it on another distribution, but if you're requesting support from the volunteer maintainers around here, please have the decency to be upfront about being on an unsupported system.

widlarizer commented on 2022-01-06 11:32 (UTC)

I apologize, all my issues turned out to have nothing to do with the PKGBUILD. I didn't have base-devel because of Manjaro. Object files are deleted at the start of the build as the Makefile compiler detection step does that deliberately. And enabling max jobs in MAKEFLAGS should be correctly done in makepkg.conf. Thank you for maintaining this package

thasti commented on 2022-01-05 05:49 (UTC)

bison and flex are included in base-devel, which are a general prerequisite for AUR packages [1], [2].

I'm not sure about your comment regarding the deletion of object files. This does not happen in the PKGBUILD (i.e. if it happens, it does so in the upstream build system).

[1] https://wiki.archlinux.org/title/Arch_User_Repository [2] https://archlinux.org/groups/x86_64/base-devel/

widlarizer commented on 2022-01-05 00:12 (UTC) (edited on 2022-01-05 00:18 (UTC) by widlarizer)

bison and flex are missing from build-time dependencies.

Furthermore, it deletes object files, which is not the PKGBUILD's job, but the user's choice to cleanbuild, if I am not mistaken

EDIT: wait, is this building object files in a single thread?

thasti commented on 2020-10-20 17:43 (UTC)

Added, sorry for missing that earlier!

xiretza commented on 2020-10-20 06:26 (UTC)

Sorry to bug you again, but could you also switch to a versioned provides (provides=("yosys=$pkgver"))?