summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-lapack/lapack
diff options
context:
space:
mode:
Diffstat (limited to 'meta-offline-voice-agent/recipes-lapack/lapack')
-rw-r--r--meta-offline-voice-agent/recipes-lapack/lapack/lapack_%.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/recipes-lapack/lapack/lapack_%.bbappend b/meta-offline-voice-agent/recipes-lapack/lapack/lapack_%.bbappend
new file mode 100644
index 00000000..d5cd8e7c
--- /dev/null
+++ b/meta-offline-voice-agent/recipes-lapack/lapack/lapack_%.bbappend
@@ -0,0 +1,11 @@
+DEPENDS += "openblas"
+DEPENDS:remove:class-native = "libgfortran"
+
+EXTRA_OECMAKE:append = " -DCBLAS=ON"
+EXTRA_OECMAKE += " -DUSE_OPTIMIZED_BLAS=1"
+
+do_install:append() {
+ rm -f ${D}${includedir}/cblas.h
+}
+
+BBCLASSEXTEND = "native"