Package Details: vivado 2025.2-1

Git Clone URL: https://aur.archlinux.org/vivado.git (read-only, click to copy)
Package Base: vivado
Description: FPGA/CPLD design suite for AMD devices – Vivado edition
Upstream URL: https://www.xilinx.com/products/design-tools/vivado.html
Licenses: custom
Conflicts: vitis, vivado
Submitter: xiretza
Maintainer: VitalyR (leuko)
Last Packager: leuko
Votes: 20
Popularity: 0.53
First Submitted: 2019-06-18 22:23 (UTC)
Last Updated: 2025-11-30 22:54 (UTC)

Pinned Comments

leuko commented on 2024-01-14 21:14 (UTC) (edited on 2025-11-22 13:26 (UTC) by leuko)

Contributions welcome: https://gitlab.com/goekce/pkgbuilds/

PKGBUILD cannot download Vivado, you have to download Vivado before executing the PKGBUILD. Refer to PKGBUILD.

This pkgbuild is also able to install Vitis – look into the file for details.

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

CommandMC commented on 2026-04-27 10:11 (UTC)

In case anyone is installing the package for the first time & wants to use the updated version, here's a patch to make that work:

diff --git a/.SRCINFO b/.SRCINFO
index 14fd7e7..90159af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,11 +20,11 @@ pkgbase = vivado
    optdepends = qt4: Model Composer
    options = !strip
    options = !debug
-   source = file:///FPGAs_AdaptiveSoCs_Unified_SDI_2025.2_1114_2157.tar
+   source = file:///FPGAs_AdaptiveSoCs_Unified_SDI_2025.2_1114_2157_1.tar
    source = spoof_homedir.c
    source = install_config-vitis.txt
    source = install_config-vivado.txt
-   md5sums = 5e793c6b88de5123a09f024253fc2527
+   md5sums = fdae748783af560aa005b62dd7ef4b26
    md5sums = 69d14ad64f6ec44e041eaa8ffcb6f87c
    md5sums = SKIP
    md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0f72650..e50f68d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -80,6 +80,7 @@ _installprefix=/opt/Xilinx
 _srcname=FPGAs_AdaptiveSoCs_Unified_SDI
 pkgver=2025.2
 _more_ver=1114_2157
+_even_more_ver=1
 pkgrel=1
 pkgdesc="FPGA/CPLD design suite for AMD devices"
 url="https://www.xilinx.com/products/design-tools/vivado.html"
@@ -101,14 +102,14 @@ optdepends=('fxload'
     'qt4: Model Composer'
 )
 source=(
-    "file:///${_srcname}_${pkgver}_${_more_ver}.tar"
+    "file:///${_srcname}_${pkgver}_${_more_ver}_${_even_more_ver}.tar"
     "spoof_homedir.c"
     "install_config-vitis.txt"
     "install_config-vivado.txt"
 )

 md5sums=(
-    '5e793c6b88de5123a09f024253fc2527'
+    'fdae748783af560aa005b62dd7ef4b26'
     # Checksum from https://www.xilinx.com/support/download.html

     '69d14ad64f6ec44e041eaa8ffcb6f87c'

leuko commented on 2026-04-18 17:07 (UTC)

Vivado 2025.2.1 released on Mar 26, 2026. This is a product release.

I did not update the PKGBUILD because the new package would probably only be relevant for a minority of users, but would annoy other users with an update request.

yuyichao commented on 2026-01-07 21:26 (UTC)

That error means you may be trying to run —product as a command of itself rather than as an argument to the previous command.

You should move that section you’ve uncommented to the end of the previous command , either by removing the empty lines and add a backslash () to the end of the previous command, or by adding the —product to the end of the same line as the last argument without starting a new line.

leuko commented on 2026-01-07 21:02 (UTC)

https://docs.amd.com/r/en-US/ug973-vivado-release-notes-install-license/Running-the-Installer states:

xsetup --agree 3rdPartyEULA,XilinxEULA --batch Install --edition "Vitis Unified Software Platform" ...

Maybe --product option does not exist anymore. Can you check whether --edition 'Vivado ML Standard' works? Gianfilippo?

I don't have access to any infrastructure to check it myself right now.

Gianfilippo980 commented on 2026-01-07 18:52 (UTC)

When trying to uncomment the section:

    # For installing all features, use the following options
        #--product Vivado \
        #--edition 'Vivado ML Standard'

I get an error about "--product" command not being found.

pyromuffin commented on 2025-06-14 00:58 (UTC) (edited on 2025-06-14 01:03 (UTC) by pyromuffin)

2025.1 installs fine with the updated script, but is quite broken with many errors about being unable to find board files, and I'm unable to instantiate IP due to lack of speedfiles, which I am guessing is related to being unable to open the board files.

WARNING: [Board 49-26] cannot add Board Part xilinx.com:kcu105:part0:1.6 available at /opt/Xilinx/2025.1/data/xhub/boards/XilinxBoardStore/boards/Xilinx/kcu105/1.6/board.xml as part xcku040-ffva1156-2-e specified in board_part file is either invalid or not available
WARNING: [Board 49-26] cannot add Board Part xilinx.com:kcu105:part0:1.7 available at /opt/Xilinx/2025.1/data/xhub/boards/XilinxBoardStore/boards/Xilinx/kcu105/1.7/board.xml as part xcku040-ffva1156-2-e specified in board_part file is either invalid or not available
  • and 20 more similar warnings

I've confirmed those files are in those directories mentioned in the warning, so I am not sure why vivado can't open them anymore. Tried opening a ticket with xilinx support but who knows how helpful they will be with an unsupported OS. Vivado 2024.2 worked fine, but it seems the directory structure of the installation has changed somewhat in 2025.1.

edit: I am now noticing that the warning actually says the part is unavailable, not the board file.

leuko commented on 2025-03-07 08:57 (UTC)

You are right, qwjyh; thanks for confirmation — I also get the error. LD_PRELOAD=libfakeroot.so, however it cannot be found, even I think it is set by makepkg automatically.

I applied not @microsparky's solution and the libfakeroot.so messages are gone.

Note that even the packaging went fine, I did not test Vivado or Vitis runtime.

qwjyh commented on 2025-03-05 03:22 (UTC) (edited on 2025-03-07 09:00 (UTC) by qwjyh)

Hi leuko. I tried to install Vivado 2023.1 using the latest PKGBUILD with editted source and md5sums. I had the same issue on LD_PRELOAD as Microsparky reported.

Also, for those who want to install old versions, Vivado 2023.1 contains old java (jr317.0.3), which seems to have a bug on the latest Linux kernel and doesn't work.

Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.xilinx.installer.api.InstallerLauncher.<clinit>(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null
...

I replaced **/tps/lnx64/jre17.0.3_7/bin with symlink to /bin and fixed --config argument in PKGBUILD then successfully built the package.

p.s. I made a mistake: 2020.1 -> 2023.1

leuko commented on 2025-02-26 10:01 (UTC)

Thanks for sharing microsparky!

I did not have any issues with desktop files and LD_PRELOAD before. If others also share similar issues, we can look into that.

Microsparky commented on 2025-02-26 00:11 (UTC) (edited on 2025-02-26 00:12 (UTC) by Microsparky)

Hello Leuko, first thank for maintaining! I had some issues during the build first with LDPRELOAD then with *.desktop files. I don't really know what to do with my 'fixes' but maybe they are insightful to you or help someone else get unstuck anyway below are my findings:

LD_PRELOAD should already contain libfakeroot.so but on my system for whatever reason its was not being found so I hard coded LD_PRELOAD in the PKGBUILD:

LD_PRELOAD=$srcdir/spoof_homedir.so:/lib/libfakeroot/libfakeroot.so

*.desktop files were not being found at "$srcdir"/installer_temp/Desktop instead they were found at $srcdir"/installer_temp/.local/share/applications and $srcdir"/installer_temp/.config/autostart/applications so I changed the for loop to the following:

for deskfile in "$srcdir"/installer_temp/.local/share/applications/*.desktop; do

likewise I added another loop for the file in .config/autostart:

for deskfile in "$srcdir"/installer_temp/.config/autostart/applications/*.desktop; do

One more thing is I added some code to these loops to change the names to be more consistent as follows:

# Extract directory and filename
    filepath=$(dirname "$deskfile")
    filename=$(basename "$deskfile")

    # Rename the file:
    # 1. Remove underscores followed by numbers (e.g., `_123`)
    # 2. Replace spaces with hyphens
    # 3. Convert to lowercase
    # 4. Ensure the filename starts with `xilinx-`
    filename=$(echo "$filename" | sed -E 's/_[0-9]+//g' | tr ' ' '-' | tr '[:upper:]' '[:lower:]')
    if [[ "$filename" != xilinx-* ]]; then
        filename="xilinx-$filename"
    fi

    # Construct the new file path
    newdeskfile="$filepath/$filename"

    # Rename the file (move it to the new name)
    mv "$deskfile" "$newdeskfile"

    # Install the renamed file to the target directory
    install -Dm644 "$newdeskfile" -t "$pkgdir/usr/share/applications/"