gufo-git

LOW
maintainer Orion-zhen 0 votes scanned 2026-10-29 11:52:15.123535
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: Orion-zhen <https://github.com/Orion-zhen>
2
3_pkgname=gufo
4pkgname=${_pkgname}-git
5pkgver=0.26.0.r12.ge011849c
6pkgrel=1
7pkgdesc="The Open Source Strix Halo AI engine (git version)."
8arch=(x86_64)
9url='https://github.com/gufo-org/gufo'
10license=('MIT')
11provides=("${_pkgname}=${pkgver}")
12conflicts=("${_pkgname}")
13install=gufo-git.install
14
15depends=(
16 curl
17 ffmpeg
18 gcc-libs
19 glibc
20 hip-runtime-amd
21 hipblas
22 hipblaslt
23 icu
24 libjpeg-turbo
25 libpng
26 libwebp
27 openssl
28 rocblas
29 rocprofiler
30)
31makedepends=(
32 cmake
33 git
34 hipcub
35 pkgconf
36 rocm-llvm
37 rocprim
38 rocwmma
39)
40# GCC host objects and ROCm Clang HIP objects use different LTO formats.
41options=(!lto !debug)
42source=(
43 "${_pkgname}::git+${url}.git"
44)
45sha256sums=("SKIP")
46
47pkgver() {
48 cd "${srcdir}/${_pkgname}"
49 git describe --long --tags --match 'v[0-9]*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
50}
51
52build() {
53 if [[ -z "${ROCM_PATH}" ]]; then
54 source /etc/profile
55 fi
56
57 # HIP's __noinline__ macro conflicts with GCC 16's <format> attributes.
58 # Load the standard header before HIP headers in host C++ translation units.
59 CXXFLAGS+=' -include format'
60
61 cmake -S "${srcdir}/${_pkgname}" -B build \
62 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
63 -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
64 -DCMAKE_INSTALL_PREFIX=/usr \
65 -DCMAKE_PREFIX_PATH=/opt/rocm \
66 -DCMAKE_HIP_COMPILER=/opt/rocm/lib/llvm/bin/clang++ \
67 -DCMAKE_HIP_ARCHITECTURES=gfx1151 \
68 -DENGINE_ENABLE_HIP=ON \
69 -DBUILD_TESTING=OFF \
70 -DGUFO_BUILD_TOOLS=ON \
71 -DGUFO_RELEASE_VERSION="${pkgver}" \
72 -DGUFO_REVISION="$(git -C "${srcdir}/${_pkgname}" rev-parse --short HEAD)" \
73 -DGUFO_FFMPEG_EXECUTABLE=/usr/bin/ffmpeg \
74 -DGUFO_FFPROBE_EXECUTABLE=/usr/bin/ffprobe
75
76 # Do not hardcode the --parallel value here.
77 # Set MAKEFLAGS in /etc/makepkg.conf instead.
78 cmake --build build -- -j $(nproc)
79}
80
81package() {
82 DESTDIR="${pkgdir}" cmake --install build
83}
84

Scan history

Scanned at (UTC)SeverityRules
2026-10-29 11:52:15 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