diff mbox series

[meta-oe] lapack: fix lapack-ptest rdepends on lapack-dev

Message ID 20250215161649.75330-1-peng.zhang1.cn@windriver.com
State Accepted
Headers show
Series [meta-oe] lapack: fix lapack-ptest rdepends on lapack-dev | expand

Commit Message

Peng Zhang Feb. 15, 2025, 4:16 p.m. UTC
From: Zhang Peng <peng.zhang1.cn@windriver.com>

When LAPACKE is enabled, the QA check fails with the following error:
  ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: lapack-ptest rdepends on lapack-dev [dev-deps]
  ERROR: lapack-3.12.1-r0 do_package_qa: Fatal QA errors were found, failing task.
The root cause is that `lapack-ptest` accidentally installed `lapacke.pc`,
which is a development file intended to be included only in the `lapack-dev` package.
To resolve this: Remove `lapacke.pc` from the `lapack-ptest` installation

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
---
 meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
index 87a5747246..f18ef1f292 100644
--- a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
+++ b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
@@ -88,7 +88,8 @@  do_install_ptest () {
     rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \
           --exclude CMakeFiles \
           --exclude cmake_install.cmake \
-          --exclude Makefile
+          --exclude Makefile \
+          --exclude lapacke.pc
     cp -r ${B}/bin ${D}${PTEST_PATH}
     cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH}
     cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}