ggml-cuda-12.9
LOW
maintainer Vendetta1871
0 votes
scanned 2026-09-21 05:34:06.811684
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
pkgname=ggml-cuda-12.9
2
pkgver=0.23.0
3
pkgrel=2
4
pkgdesc="ggml CUDA backend built against CUDA 12.9 for Tesla V100 (sm_70)"
5
arch=(x86_64)
6
url="https://github.com/ggml-org/ggml"
7
license=(MIT)
8
depends=(ggml cuda-12.9 gcc-libs glibc)
9
makedepends=(cmake ninja gcc14)
10
provides=(ggml-cuda)
11
conflicts=(ggml-cuda)
12
source=("ggml-$pkgver.tar.gz::https://github.com/ggml-org/ggml/archive/refs/tags/v$pkgver.tar.gz")
13
sha256sums=('ae3f37f599acc16e8213d728f66528c7ba7a9ff2d7cac09181ba1ab19adb445c')
14
15
build() {
16
export PATH=/opt/cuda/bin:$PATH
17
cmake -S "ggml-$pkgver" -B build -G Ninja \
18
-DCMAKE_BUILD_TYPE=Release \
19
-DCMAKE_INSTALL_PREFIX=/usr \
20
-DGGML_BACKEND_DL=ON \
21
-DGGML_NATIVE=OFF \
22
-DGGML_CUDA=ON \
23
-DCMAKE_CUDA_ARCHITECTURES="70-real" \
24
-DCUDAToolkit_ROOT=/opt/cuda \
25
-DCMAKE_CUDA_HOST_COMPILER=/usr/bin/g++-14 \
26
-DGGML_CUDA_NCCL=OFF \
27
-DCMAKE_SKIP_RPATH=ON
28
cmake --build build --target ggml-cuda
29
}
30
31
package() {
32
local lib
33
lib=$(find "$srcdir/build" -name 'libggml-cuda.so' | head -1)
34
install -Dm755 "$lib" "$pkgdir/usr/lib/ggml/libggml-cuda.so"
35
install -Dm644 "ggml-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36
}
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 05:34:06 | Low | 1 |