flexiblas
maintainer laurensverwoert
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a plausible project-owned host (mpi-magdeburg.mpg.de), which is not on the whitelist but is the official project domain; building from own-source is normal AUR practice and poses low risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a plausible project-owned host (mpi-magdeburg.mpg.de), which is not on the whitelist but is the official project domain; building from own-source is normal AUR practice and poses low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:40
"https://csc.mpi-magdeburg.mpg.de/mpcsc/software/flexiblas/${_pkgsrc}.tar.xz"
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3
pkgname="flexiblas"
4
pkgver=3.5.0
5
pkgrel=2
6
pkgdesc="BLAS and LAPACK wrapper library with runtime exchangable backends"
7
arch=(
8
'x86_64'
9
)
10
url="https://www.mpi-magdeburg.mpg.de/projects/flexiblas"
11
license=(
12
'LGPL-3.0-or-later'
13
)
14
depends=(
15
'glibc'
16
'libgcc'
17
'libgfortran'
18
'openblas'
19
)
20
makedepends=(
21
'cmake>=3.10.0'
22
'gcc-fortran>=5.1.0'
23
)
24
checkdepends=(
25
'lapack'
26
'python'
27
)
28
provides=(
29
"libflexiblas_api.so"
30
"libflexiblas_mgmt.so"
31
"libflexiblas.so"
32
)
33
backup=(
34
"etc/flexiblasrc"
35
"etc/flexiblasrc.d/NETLIB.conf"
36
"etc/flexiblasrc.d/OpenBLASOpenMP.conf"
37
)
38
_pkgsrc="${pkgname}-${pkgver}"
39
source=(
40
"https://csc.mpi-magdeburg.mpg.de/mpcsc/software/flexiblas/${_pkgsrc}.tar.xz"
41
# "https://gitlab.mpi-magdeburg.mpg.de/api/v4/projects/386/packages/generic/flexiblas-source/v${pkgver}/${_pkgsrc}.tar.xz"
42
)
43
sha256sums=('504c0eeac09dca98e4bc930757f44bc409cb770f8fa7578ddb18c0d6accba072')
44
45
build() {
46
# source /opt/intel/oneapi/setvars.sh
47
local cmake_options=(
48
-B "${_pkgsrc}/build"
49
-S "${_pkgsrc}"
50
-G 'Unix Makefiles'
51
-W no-dev
52
-D CMAKE_BUILD_TYPE:STRING='None'
53
-D CMAKE_INSTALL_PREFIX:PATH='/usr'
54
-D CMAKE_SKIP_RPATH:BOOL=ON
55
-D MKL_BUILDER:BOOL=OFF
56
-D EXAMPLES:BOOL=OFF
57
-D LINK_OPENMP:BOOL=ON
58
)
59
60
cd "${srcdir}"
61
cmake "${cmake_options[@]}"
62
cmake --build "${cmake_options[1]}"
63
}
64
65
check() {
66
local ctest_exclude_regex=""
67
local ctest_options=(
68
--test-dir "${_pkgsrc}/build"
69
--output-on-failure
70
--parallel "$(nproc)"
71
--exclude-regex "${ctest_exclude_regex}"
72
)
73
# export LD_LIBRARY_PATH="${srcdir}/${ctest_options[1]}/build/lib:${LD_LIBRARY_PATH}"
74
75
cd "${srcdir}"
76
ctest "${ctest_options[@]}"
77
}
78
79
package() {
80
cd "${srcdir}"
81
DESTDIR="${pkgdir}" cmake --install "${_pkgsrc}/build"
82
83
cd "${_pkgsrc}"
84
install -vDm644 "CHANGELOG" "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
85
install -vDm644 "COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}"
86
}
87
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |