Install openblas for check() in a fresh build container

makepkg's upfront dependency install covers only pkgbase-level arrays, so the
per-package openblas depends never reach a fresh container and check()'s
mlx.core import failed with a missing libopenblas.so.0. Declare it as a
checkdepends instead; real installs still get it through depends.
This commit is contained in:
Joshua Warren committed 2026-10-03 13:58:27 -05:00
1 parent fdb491076c
commit 274d4f6e0f
1 file changed
+4
+4
View File
@@ -17,6 +17,10 @@ _mesa_sha=${_mesa_commit:0:10}
makedepends=('clang' 'elfutils' 'expat' 'glslang' 'libclc' 'libdrm' 'llvm' 'meson'
'python' 'python-mako' 'python-packaging' 'python-yaml'
'spirv-llvm-translator' 'spirv-tools' 'zstd')
# check() imports the staged venv's mlx.core, which dlopens libopenblas.so.0.
# Per-package depends are not installed at check() time in a fresh makepkg
# container, so the library must arrive through a pkgbase-level checkdepends.
checkdepends=('openblas')
options=('!debug' '!lto')
source=("omarchy-mlx-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
"$_wheel::$url/releases/download/v$pkgver/${_wheel//+/%2B}"