gufo

LOW
maintainer wooptoo 1 votes scanned 2026-10-06 14:02:37.567106
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: Radu Potop <radu@wooptoo.com>
2
3pkgname=gufo
4pkgver=0.8.0
5pkgrel=1
6pkgdesc="Fast inference engine for AMD Strix Halo (gfx1151)"
7arch=(x86_64)
8url='https://github.com/gufo-org/gufo'
9license=('MIT')
10
11depends=(
12 curl
13 ffmpeg
14 gcc-libs
15 glibc
16 hip-runtime-amd
17 hipblas
18 hipblaslt
19 icu
20 libjpeg-turbo
21 libpng
22 libwebp
23 openssl
24 rocblas
25)
26makedepends=(
27 cmake
28 hipcub
29 pkgconf
30 rocm-llvm
31 rocprim
32 rocwmma
33)
34# GCC host objects and ROCm Clang HIP objects use different LTO formats.
35options=(!lto !debug)
36source=(
37 "${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
38)
39sha256sums=('dca38de3642f078e4d4c681779309e6958b2f7a603b7acb1355f873a3f9f8bc1')
40
41build() {
42 # HIP's __noinline__ macro conflicts with GCC 16's <format> attributes.
43 # Load the standard header before HIP headers in host C++ translation units.
44 CXXFLAGS+=' -include format'
45
46 cmake -S "${srcdir}/${pkgname}-${pkgver}" -B build \
47 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
48 -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
49 -DCMAKE_INSTALL_PREFIX=/usr \
50 -DCMAKE_PREFIX_PATH=/opt/rocm \
51 -DCMAKE_HIP_COMPILER=/opt/rocm/lib/llvm/bin/clang++ \
52 -DCMAKE_HIP_ARCHITECTURES=gfx1151 \
53 -DENGINE_ENABLE_HIP=ON \
54 -DBUILD_TESTING=OFF \
55 -DGUFO_BUILD_TOOLS=OFF \
56 -DGUFO_RELEASE_VERSION="${pkgver}" \
57 -DGUFO_REVISION="v${pkgver}" \
58 -DGUFO_FFMPEG_EXECUTABLE=/usr/bin/ffmpeg \
59 -DGUFO_FFPROBE_EXECUTABLE=/usr/bin/ffprobe
60
61 # Do not hardcode the --parallel value here.
62 # Set MAKEFLAGS in /etc/makepkg.conf instead.
63 cmake --build build
64}
65
66package() {
67 DESTDIR="${pkgdir}" cmake --install build
68}
69# vim:set ts=2 sw=2 et:
70

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 14:02:37 Low 1
2026-10-06 00:13:36 Clean 2
2026-10-05 23:40:58 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