diff mbox series

[meta-oe] dlib: new recipe

Message ID 20221216150348.19676-1-roger@norberthealth.com
State Under Review
Headers show
Series [meta-oe] dlib: new recipe | expand

Commit Message

Roger Knecht Dec. 16, 2022, 3:03 p.m. UTC
Add a recipe for the dlib C++ library.

Dlib is a modern C++ toolkit containing machine learning algorithms and tools for
creating complex software in C++ to solve real world problems. It is used in both
industry and academia in a wide range of domains including robotics, embedded
devices, mobile phones, and large high performance computing environments.

Signed-off-by: Roger Knecht <roger@norberthealth.com>
---
 meta-oe/recipes-devtools/dlib/dlib_19.24.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/dlib/dlib_19.24.bb

Comments

Khem Raj Dec. 17, 2022, 2:13 a.m. UTC | #1
thanks for the patch. Its failing on some machines

https://errors.yoctoproject.org/Errors/Details/683901/
https://errors.yoctoproject.org/Errors/Details/683900/

On Fri, Dec 16, 2022 at 7:04 AM Roger Knecht <roger@norberthealth.com> wrote:
>
> Add a recipe for the dlib C++ library.
>
> Dlib is a modern C++ toolkit containing machine learning algorithms and tools for
> creating complex software in C++ to solve real world problems. It is used in both
> industry and academia in a wide range of domains including robotics, embedded
> devices, mobile phones, and large high performance computing environments.
>
> Signed-off-by: Roger Knecht <roger@norberthealth.com>
> ---
>  meta-oe/recipes-devtools/dlib/dlib_19.24.bb | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/dlib/dlib_19.24.bb
>
> diff --git a/meta-oe/recipes-devtools/dlib/dlib_19.24.bb b/meta-oe/recipes-devtools/dlib/dlib_19.24.bb
> new file mode 100644
> index 000000000..0b6bd3516
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dlib/dlib_19.24.bb
> @@ -0,0 +1,14 @@
> +DESCRIPTION = "A toolkit for making real world machine learning and data analysis applications in C++"
> +HOMEPAGE = "http://dlib.net"
> +
> +LICENSE = "BSL-1.0"
> +LIC_FILES_CHKSUM = "file://dlib/LICENSE.txt;md5=2c7a3fa82e66676005cd4ee2608fd7d2"
> +
> +SRC_URI = "git://github.com/davisking/dlib.git;protocol=https;branch=master"
> +SRCREV = "6097093ab329fcd19aed03a8fe67949f6971a65d"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +EXTRA_OECMAKE += " -DBUILD_SHARED_LIBS=ON"
> --
> 2.17.1
>
Roger Knecht Dec. 19, 2022, 11:38 a.m. UTC | #2
On Sat, Dec 17, 2022 at 3:14 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> thanks for the patch. Its failing on some machines
>
> https://errors.yoctoproject.org/Errors/Details/683901/
> https://errors.yoctoproject.org/Errors/Details/683900/

Thanks for the feedback. I will soon send v2 with a fix.
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/dlib/dlib_19.24.bb b/meta-oe/recipes-devtools/dlib/dlib_19.24.bb
new file mode 100644
index 000000000..0b6bd3516
--- /dev/null
+++ b/meta-oe/recipes-devtools/dlib/dlib_19.24.bb
@@ -0,0 +1,14 @@ 
+DESCRIPTION = "A toolkit for making real world machine learning and data analysis applications in C++"
+HOMEPAGE = "http://dlib.net"
+
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://dlib/LICENSE.txt;md5=2c7a3fa82e66676005cd4ee2608fd7d2"
+
+SRC_URI = "git://github.com/davisking/dlib.git;protocol=https;branch=master"
+SRCREV = "6097093ab329fcd19aed03a8fe67949f6971a65d"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE += " -DBUILD_SHARED_LIBS=ON"