yocto - 无法将 lapack.so 文件放入 rootfs
问题描述
我正在尝试使用yocto在我的 64 位 ARMV8 板上安装 lapack。我有 lapack-3.9 bitbake 配方,它已经成功构建。它已在 image/usr/lib64 文件夹中成功创建了 libblas.so 和 liblapack.so。
我将 lapack 添加到我的local.conf中。问题是当我这样做时
bitbake core-image-weston
我的 rootfs 中没有这些.so 。也就是说,在 /usr/lib64 里面。我在这里想念什么???下面是我的 lapack_3.9.0.bb 食谱-
SUMMARY = "Linear Algebra PACKage"
URL = "http://www.netlib.org/lapack"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=930f8aa500a47c7dab0f8efb5a1c9a40"
# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
# Enabling FORTRAN
# Note this is not officially supported and is just illustrated here to
# show an example of how it can be done
# You'll also need your fortran recipe to depend on libgfortran
#FORTRAN_forcevariable = ",fortran"
#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
DEPENDS = "libgfortran"
SRC_URI = "https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz"
SRC_URI[md5sum] = "0b251e2a8d5f949f99b50dd5e2200ee2"
SRC_URI[sha256sum] = "106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573"
EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON "
OECMAKE_GENERATOR = "Unix Makefiles"
inherit cmake pkgconfig
EXCLUDE_FROM_WORLD = "1"
此外,当我尝试将lapack-dev和lapack-dbg ipks 添加到我的 local.conf 时,它只允许 lapack-dbg 但给 lapack-dev 一个错误 -
错误:
Collected errors:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - nothing provides lapack = 3.9.0-r0 needed by lapack-dev-3.9.0-r0.aarch64
*
* Solution 1:
* - do not ask to install a package providing lapack-dev
解决方案
推荐阅读
- javascript - CSS - 如果元素用于事件功能,则无法在 CSS 中调用元素
- eclipse - 防止 Eclipse 自动完成在导入末尾添加星号、星号、通配符
- css - 当父级溢出时使子级下拉可见:滚动
- cmake - cmake 未定义对安装 Caffe2 的“pthread_create”的引用
- netty - Netty 每 10 秒与服务器通信一次
- android - Android替换pdf中的文本
- javascript - 如何检查日期是否为假期
- algorithm - 给出排列数的递归公式?
- r - 当GBM模型保存和加载时,模型一次又一次加载时没有给出相同的预测值
- c++ - SDL 不在游戏窗口上渲染屏幕