diff options
author | Zhang Peng <peng.zhang1.cn@windriver.com> | 2025-02-16 00:16:49 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-02-15 19:30:23 -0800 |
commit | 94ee7bf2dba87f00f585d8519a11d75809b5d361 (patch) | |
tree | e239ded614d014df20e640af51df68529e1c16b7 | |
parent | 3ab42ea30e2599e4c9ffc0538c3e9434fe224ab4 (diff) | |
download | meta-openembedded-94ee7bf2dba87f00f585d8519a11d75809b5d361.tar.gz |
lapack: fix lapack-ptest rdepends on lapack-dev
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 () { | |||
88 | rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \ | 88 | rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \ |
89 | --exclude CMakeFiles \ | 89 | --exclude CMakeFiles \ |
90 | --exclude cmake_install.cmake \ | 90 | --exclude cmake_install.cmake \ |
91 | --exclude Makefile | 91 | --exclude Makefile \ |
92 | --exclude lapacke.pc | ||
92 | cp -r ${B}/bin ${D}${PTEST_PATH} | 93 | cp -r ${B}/bin ${D}${PTEST_PATH} |
93 | cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH} | 94 | cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH} |
94 | cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH} | 95 | cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH} |