stable-diffusion.cpp-rocm-bin

LOW
maintainer monsoon235 0 votes scanned 2026-10-06 08:02:16.298752
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: monsoon <29970829+monsoon235@users.noreply.github.com>
2pkgname=stable-diffusion.cpp-rocm-bin
3pkgver=master_929_3f8527a
4pkgrel=1
5pkgdesc='stable-diffusion.cpp upstream Linux x86_64 prebuilt binaries with the ROCm backend'
6arch=('x86_64')
7url='https://github.com/leejet/stable-diffusion.cpp'
8license=('MIT')
9depends=('glibc' 'gcc-libs' 'hip-runtime-amd' 'hipblas' 'rocblas')
10provides=('stable-diffusion.cpp')
11conflicts=('stable-diffusion.cpp' 'stable-diffusion.cpp-git' 'stable-diffusion.cpp-vulkan-bin')
12options=('!strip' '!debug')
13_upstream_tag=master-929-3f8527a
14_commit=3f8527a
15_rocm_version=7.14.0
16source=("${pkgname}-${pkgver}.zip::https://github.com/leejet/stable-diffusion.cpp/releases/download/${_upstream_tag}/sd-master-${_commit}-bin-Linux-Ubuntu-24.04-x86_64-rocm-${_rocm_version}.zip")
17sha256sums=('b4877986cc25cc04decc073874eed5ea411fc0bb19f5338f0ea3511a8e8b1c58')
18
19package() {
20 local upstream="$srcdir/build/bin" executable license_file
21 test -x "$upstream/sd-cli"
22 test -x "$upstream/sd-server"
23 test -f "$upstream/libggml-hip.so"
24 test -f "$upstream/stable-diffusion.cpp.txt"
25 test -f "$upstream/ggml.txt"
26
27 install -d "$pkgdir/usr/lib/$pkgname" "$pkgdir/usr/bin"
28 cp -a "$upstream/." "$pkgdir/usr/lib/$pkgname/"
29 for license_file in "$pkgdir/usr/lib/$pkgname"/*.txt; do
30 [[ -f "$license_file" ]] || continue
31 install -Dm644 "$license_file" "$pkgdir/usr/share/licenses/$pkgname/${license_file##*/}"
32 rm "$license_file"
33 done
34 for executable in sd-cli sd-server; do
35 ln -s "../lib/$pkgname/$executable" "$pkgdir/usr/bin/$executable"
36 done
37}
38

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 08:02:16 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion