Package Details: vivado 2021.1-3

Git Clone URL: https://aur.archlinux.org/vivado.git (read-only, click to copy)
Package Base: vivado
Description: FPGA/CPLD design suite for Xilinx devices
Upstream URL: https://www.xilinx.com/products/design-tools/vivado.html
Licenses: custom
Submitter: xiretza
Maintainer: xiretza
Last Packager: xiretza
Votes: 11
Popularity: 0.041515
First Submitted: 2019-06-18 22:23
Last Updated: 2021-07-20 08:51

Latest Comments

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

yuyichao commented on 2020-05-10 20:18

The SDK is gone in the 2019.2 version so the corresponding desktop file can be deleted.

It'll also be nice to allow execution from command line as well. Based on the desktop file, a symlink like ln -s /opt/Xilinx/DocNav/docnav "$pkgdir/usr/bin/xilinx-docnav" should work for docnav while vivado need a shell script like

#!/bin/bash

unset LANG
unset QT_PLUGIN_PATH
. /opt/Xilinx/Vivado/%VERSION%/settings64.sh
exec /opt/Xilinx/Vivado/%VERSION%/bin/vivado "$@"

There also seems to be an updator from December, any idea it can be packaged as well?

xiretza commented on 2020-04-21 18:47

@schui: hm, haven't come across anything like that yet. It might be quickest to work this out via IRC, feel free to message me (user lambda on freenode).

schui commented on 2020-04-21 18:36

@xiretza Oh, my fault. The build process was successful. Thank you!

Unfortunately the application via .desktop nor the shell file doesn't start. The error message: execvp: Exec format error. After some googling I don't find any clue how to fix this. I really need this software for a student project. I'm running Linux 5.6.5-arch3-1 with KDE 5.69.0 / Plasma 5.18.4. Thanks for any advice!

xiretza commented on 2020-04-21 09:16

@schui: as the source= suggests, it's a local file. Read the notes in the PKGBUILD, you need to download it yourself because it's locked behind a login wall.

schui commented on 2020-04-21 09:14

@xiretza Great package, thank you! Can you please update the PKGBUILD? One url is probably broken. ==> Validating source_x86_64 files with sha256sums... digilent.adept.utilities_2.3.2-amd64.deb ... Passed ==> Making package: vivado 2019.2-3 (Tue 21 Apr 2020 11:00:26 AM CEST) ==> Retrieving sources... -> Downloading Xilinx_Vivado_2019.2_1106_2127.tar.gz... curl: (37) Couldn't open file /Xilinx_Vivado_2019.2_1106_2127.tar.gz ==> ERROR: Failure while downloading file:///Xilinx_Vivado_2019.2_1106_2127.tar.gz Aborting... Error downloading sources: vivado

xiretza commented on 2020-03-18 17:41

@ccorn those changes all seem reasonable (no idea how the wrong checksum sneaked in there - and how I never noticed it before). Building it right now, will push once that's succeeded.

ccorn commented on 2020-03-18 17:28

I have made three changes to the PKGBUILD:

  1. For unknown reason, I had to fix the md5sum for Xilinx-DocNav.desktop.
  2. Re-enabled compression because the new default (zstd) is quite fast, particularly if multithreading is enabled (at least on my dual-Xeon workstation)
  3. At the end of package(), delete the unpacked source tree to save space for subsequent packaging and checks.

The latter two changes enable builds within 72GiB chroot capacity. On my workstation, this means that I can still use a tmpfs mount for that.

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,10 +55,10 @@ md5sums=('e2b2762964ef5f014591b13d77d823ab'
          '69d14ad64f6ec44e041eaa8ffcb6f87c'
          'b7cad6d39ef5293d4f433b8c9959f486'
          '44bb51e1c8832f001cb7d21b90cb5796'
-         '40d60bc80129f8e7fe7df56ec2605ebf')
+         '4d37975f586923ad02a50056ff569703')

 options=('!strip')
-PKGEXT=".pkg.tar"
+#PKGEXT=".pkg.tar"

 prepare() {
    # https://git.archlinux.org/pacman.git/commit/?id=349c22d043290ccd0cce9f30981f5415e295442a
@@ -97,5 +97,9 @@ package() {
    # clean up artefacts, remove leading $pkgdir from paths
    rm -rf "$pkgdir/opt/Xilinx/.xinstall/"
    find "$pkgdir/opt/Xilinx/" -name '*settings64*' -exec sed -i -e "s|$pkgdir||g" '{}' \+
+
+   # Save space for subsequent packaging, checking etc
+   cd ..
+   rm -rf "Xilinx_Vivado_${pkgver}_${_more_ver}"
 }

Focshole commented on 2020-03-04 15:11

@xiretza: Fixed, it was a problem with an unofficial repo (Blackarch). Installing ncurses5-compat-libs from AUR fixed it. I'm clearing and reviewing all the other posts to avoid useless cluttering.

xiretza commented on 2020-03-04 14:34

@Focshole: the correct way is to install the old curses libraries, i.e. ncurses5-compat-libs. That's what the dependency is for.

xiretza commented on 2020-03-04 12:20

@Focshole: I might add manual extraction soon since a new pacman release doesn't seem to be anywhere close.

/usr/lib/libtinfo.so.5 is provided by ncurses5-compat-libs, which is a dependency of this package - did you actually have a problem or did you just create the symlink as a misguided precaution (that's usually a horrible idea by the way, so-versions exist for a reason).