All of lore.kernel.org
 help / color / mirror / Atom feed
From: open.prac@gmail.com
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-python][Question] python3-dlib recipe?
Date: Tue, 02 Feb 2021 22:21:36 -0800	[thread overview]
Message-ID: <1795.1612333296320046906@lists.openembedded.org> (raw)
In-Reply-To: <CAMKF1spyP0g5vCywDz+c1NvO7D7jue+rv0RK1w-6uqkj9Kp24g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

Hi @Khem, based on [this](https://stackoverflow.com/q/65822507/8033671) discussion i tried the following recipe and it worked just fine

```bitbake
SUMMARY = "A toolkit for making real world machine learning and data analysis applications"
HOMEPAGE = "https://pypi.python.org/pypi/dlib"
PYPI_PACKAGE = "dlib"
LICENSE = "Boost-Software"
SRC_URI[md5sum] = "1e7e357d7d54e86267ef60f606cb40e1"
LIC_FILES_CHKSUM = "file://dlib/LICENSE.txt;md5=2c7a3fa82e66676005cd4ee2608fd7d2 \
                    file://dlib/external/libpng/LICENSE;md5=243135ddedf702158f9170807cbcfb66 \
                    file://dlib/external/pybind11/LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62 \
                    file://python_examples/LICENSE_FOR_EXAMPLE_PROGRAMS.txt;md5=064f53ab40ea2b6a4bba1324149e4fde \
"
DEPENDS = "sqlite3 "

inherit pypi cmake setuptools3
INSANE_SKIP_${PN} = "already-stripped"                                  

DISTUTILS_BUILD_ARGS_append = " \
      --set CMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
"


```
I'm not sure if there is a better way to do this and make a PATCH from it

-- 
- el prac

[-- Attachment #2: Type: text/html, Size: 1292 bytes --]

      reply	other threads:[~2021-02-03  6:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 21:12 [meta-python][Question] python3-dlib recipe? open.prac
2021-01-20 22:24 ` [oe] " Khem Raj
2021-02-03  6:21   ` open.prac [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1795.1612333296320046906@lists.openembedded.org \
    --to=open.prac@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.