From: Denys Dmytriyenko <de...@ti.com> Signed-off-by: Denys Dmytriyenko <de...@ti.com> --- .../packagegroup-arago-tisdk-opencl.bb | 1 - .../recipes-support/kaldi/kaldi_git.bb | 47 ------------------ .../recipes-support/openfst/openfst_1.6.2.bb | 56 ---------------------- 3 files changed, 104 deletions(-) delete mode 100644 meta-arago-extras/recipes-support/kaldi/kaldi_git.bb delete mode 100644 meta-arago-extras/recipes-support/openfst/openfst_1.6.2.bb
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb index 0217705..4b3e9db 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb @@ -23,7 +23,6 @@ EXTRA_PKGS_append_k2hk = " \ # ti-fftw-examples EXTRA_PKGS_append_dra7xx = " \ linalg-examples \ - kaldi \ " RDEPENDS_${PN} = "\ diff --git a/meta-arago-extras/recipes-support/kaldi/kaldi_git.bb b/meta-arago-extras/recipes-support/kaldi/kaldi_git.bb deleted file mode 100644 index 4c14968..0000000 --- a/meta-arago-extras/recipes-support/kaldi/kaldi_git.bb +++ /dev/null @@ -1,47 +0,0 @@ -SUMMARY = "TI KALDI speech recognition toolkit" -HOMEPAGE = "http://kaldi-asr.org" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=35439d742a3df991e4f4f0e68e2d634c" - -PR = "r0" -COMPATIBLE_MACHINE = "dra7xx" - -require recipes-ti/includes/arago-paths.inc - -SRC_URI = "git://git.ti.com/processor-sdk/kaldi.git;protocol=git;branch=${BRANCH}" -BRANCH = "kaldi_1-0-0" -SRCREV = "a472be2e2f8598a3e360bc7ca87ff4f73afa2d9e" - -DEPENDS = " \ - linalg \ - openfst \ -" - -S = "${WORKDIR}/git" - -export LINALG_DIR = "${LINALG_INSTALL_DIR}" -export OPENFST_DIR = "${STAGING_DIR_TARGET}${prefix}" -export TARGET_ROOTDIR="${STAGING_DIR_TARGET}" - -PACKAGE_ARCH = "${MACHINE_ARCH}" -KALDI_CONF = "--static --use-cuda=no --mathlib=CLAPACK --clapack-root=${LINALG_INSTALL_DIR}/packages/ti/linalg --fst-root=${STAGING_DIR_TARGET}${prefix} --fst-version=1.6.2 --ti-cross-compile --ti-device=AM57" - -EXTRA_OEMAKE = "-C src" - -do_configure() { - cd src - chmod +x configure - ./configure ${KALDI_CONF} -} - -do_compile() { - oe_runmake online2bin featbin -} - -do_install() { - chmod +x export_kaldi.sh - ./export_kaldi.sh --nnet2-online . ${D}${datadir}/ti/examples/kaldi -} - -# to create a package for KALDI -FILES_${PN} += "${datadir}/ti/examples/kaldi" diff --git a/meta-arago-extras/recipes-support/openfst/openfst_1.6.2.bb b/meta-arago-extras/recipes-support/openfst/openfst_1.6.2.bb deleted file mode 100644 index b2a1f66..0000000 --- a/meta-arago-extras/recipes-support/openfst/openfst_1.6.2.bb +++ /dev/null @@ -1,56 +0,0 @@ -SUMMARY = "OpenFst: library for operating on finite-state transducers" -DESCRIPTION = "OpenFst: a library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)" -LICENSE = "Apache-2.0" -HOMEPAGE = "http://www.openfst.org/twiki/bin/view/FST/WebHome" -PR = "r0" - -LIC_FILES_CHKSUM = "file://COPYING;md5=17bdccf7f927b4b2aeac950537db3369" -SRC_URI = "http://openslr.org/resources/2/openfst-${PV}.tar.gz" - -S = "${WORKDIR}/openfst-${PV}" - -SRC_URI[md5sum] = "e5b2b8c41a8320a03f3a8bbea63bb0ca" -SRC_URI[sha256sum] = "3f72e35097fdf1c1c41e15165c16696c223295b40b7b145b5466306db7972578" - -inherit autotools ${@bb.utils.contains("PACKAGECONFIG", "python", "pythonnative", "", d)} - -# From the OpenFST documentation: -# -#Optional features: -# -# --enable-bin Enable fst::script and executables (def: yes) -# --enable-compact-fsts Enable CompactFst extensions (def: no) -# --enable-compress Enable compression extension (def: no) -# --enable-const-fsts Enable ConstFst extensions (def: no) -# --enable-far Enable FAR extensions (def: no) -# --enable-grm Enable all dependencies of OpenGrm (def: no) -# --enable-linear-fsts Enable LinearTagger/ClassifierFst extensions (def: no) -# --enable-lookahead-fsts Enable LookAheadFst extensions (def: no) -# --enable-mpdt Enable MPDT extensions (def: no) -# --enable-ngram-fsts Enable NGramFst extensions (def: no) -# --enable-pdt Enable PDT extensions (def: no) -# --enable-python Enable Python extension (def: no) -# --enable-special Enable special-matcher extensions (def: no) - -PACKAGECONFIG ??= "bin static-only-libs far ngram-fsts" - -PACKAGECONFIG[bin] = "--enable-bin,--disable-bin,," -PACKAGECONFIG[static-only-libs] = "--enable-static --disable-shared,--enable-static --enable-shared,," -PACKAGECONFIG[compact-fsts] = "--enable-compact-fsts,--disable-compact-fsts,," -PACKAGECONFIG[compress] = "--enable-compress,--disable-compress,zlib," -PACKAGECONFIG[const-fsts] = "--enable-const-fsts,--disable-const-fsts,," -PACKAGECONFIG[far] = "--enable-far,--disable-far,," -PACKAGECONFIG[grm] = "--enable-grm,--disable-grm,," -PACKAGECONFIG[linear-fsts] = "--enable-linear-fsts,--disable-linear-fsts,," -PACKAGECONFIG[lookahead-fsts] = "--enable-lookahead-fsts,--disable-lookahead-fsts,," -PACKAGECONFIG[mpdt] = "--enable-mpdt,--disable-mpdt,," -PACKAGECONFIG[ngram-fsts] = "--enable-ngram-fsts,--disable-ngram-fsts,," -PACKAGECONFIG[pdt] = "--enable-pdt,--disable-pdt,," -PACKAGECONFIG[python] = "--enable-python,--disable-python,,${PYTHON_PN}" -PACKAGECONFIG[special] = "--enable-special,--disable-special,," - -FILES_${PN} += "${libdir}/fst/* ${PYTHON_SITEPACKAGES_DIR}/*" -FILES_${PN}-dev += "${libdir}/fst/*${SOLIBSDEV} ${libdir}/fst/*.la ${PYTHON_SITEPACKAGES_DIR}/*.la" -FILES_${PN}-staticdev += "${libdir}/fst/*.a ${PYTHON_SITEPACKAGES_DIR}/*.a" - -ALLOW_EMPTY_${PN} = "${@bb.utils.contains("PACKAGECONFIG", "bin", "0", "1", d)}" -- 2.7.4 _______________________________________________ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago