* [meta-oe][PATCH] unifex: add recipe
@ 2021-12-08 17:15 Patrick Williams
2021-12-08 19:27 ` [oe] " Khem Raj
2021-12-09 3:25 ` [meta-oe][PATCH v2] " Patrick Williams
0 siblings, 2 replies; 4+ messages in thread
From: Patrick Williams @ 2021-12-08 17:15 UTC (permalink / raw)
To: openembedded-devel; +Cc: Patrick Williams
libunifex is a library for enabling C++ "Unified Executors" in C++20,
based on current standards work being proposed for C++23 (P2300)[1].
This library provides C++20 support for async and co-routines.
1. https://isocpp.org/files/papers/P2300R3.html
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
---
meta-oe/recipes-devtools/unifex/unifex_git.bb | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 meta-oe/recipes-devtools/unifex/unifex_git.bb
diff --git a/meta-oe/recipes-devtools/unifex/unifex_git.bb b/meta-oe/recipes-devtools/unifex/unifex_git.bb
new file mode 100644
index 000000000..09b8c2254
--- /dev/null
+++ b/meta-oe/recipes-devtools/unifex/unifex_git.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "C++ Unified Executors library"
+HOMEPAGE = "https://github.com/facebookexperimental/libunifex"
+SECTION = "libs"
+LICENSE = "Apache-2.0-with-LLVM-exception"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5b86506074cb3cdc493b4f96b73b2909"
+
+SRC_URI = "git://github.com/facebookexperimental/libunifex.git;branch=main"
+SRCREV = "9df21c58d34ce8a1cd3b15c3a7347495e29417a0"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+DEPENDS = ""
+
+BBCLASSEXTEND = "native nativesdk"
+
+PACKAGECONFIG ??= "liburing"
+PACKAGECONFIG[liburing] = ",,liburing"
+
+EXTRA_OECMAKE += " \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_CXX_STANDARD=20 \
+ -DUNIFEX_BUILD_EXAMPLES=OFF \
+ "
--
2.32.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [oe] [meta-oe][PATCH] unifex: add recipe
2021-12-08 17:15 [meta-oe][PATCH] unifex: add recipe Patrick Williams
@ 2021-12-08 19:27 ` Khem Raj
2021-12-09 3:22 ` Patrick Williams
2021-12-09 3:25 ` [meta-oe][PATCH v2] " Patrick Williams
1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2021-12-08 19:27 UTC (permalink / raw)
To: Patrick Williams; +Cc: openembeded-devel
On Wed, Dec 8, 2021 at 9:15 AM Patrick Williams <patrick@stwcx.xyz> wrote:
>
> libunifex is a library for enabling C++ "Unified Executors" in C++20,
> based on current standards work being proposed for C++23 (P2300)[1].
> This library provides C++20 support for async and co-routines.
>
> 1. https://isocpp.org/files/papers/P2300R3.html
>
> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> ---
> meta-oe/recipes-devtools/unifex/unifex_git.bb | 26 +++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/unifex/unifex_git.bb
>
> diff --git a/meta-oe/recipes-devtools/unifex/unifex_git.bb b/meta-oe/recipes-devtools/unifex/unifex_git.bb
> new file mode 100644
> index 000000000..09b8c2254
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/unifex/unifex_git.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "C++ Unified Executors library"
> +HOMEPAGE = "https://github.com/facebookexperimental/libunifex"
> +SECTION = "libs"
> +LICENSE = "Apache-2.0-with-LLVM-exception"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5b86506074cb3cdc493b4f96b73b2909"
> +
> +SRC_URI = "git://github.com/facebookexperimental/libunifex.git;branch=main"
also set protocol=https explicitly in SRC_URI
> +SRCREV = "9df21c58d34ce8a1cd3b15c3a7347495e29417a0"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake pkgconfig
> +
> +DEPENDS = ""
Do we need to empty out DEPENDS ?
> +
> +BBCLASSEXTEND = "native nativesdk"
move this below EXTRA_OECMAKE
> +
> +PACKAGECONFIG ??= "liburing"
> +PACKAGECONFIG[liburing] = ",,liburing"
> +
> +EXTRA_OECMAKE += " \
> + -DBUILD_SHARED_LIBS=ON \
> + -DBUILD_TESTING=OFF \
> + -DCMAKE_CXX_STANDARD=20 \
> + -DUNIFEX_BUILD_EXAMPLES=OFF \
> + "
> --
> 2.32.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#94252): https://lists.openembedded.org/g/openembedded-devel/message/94252
> Mute This Topic: https://lists.openembedded.org/mt/87593128/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [meta-oe][PATCH] unifex: add recipe
2021-12-08 19:27 ` [oe] " Khem Raj
@ 2021-12-09 3:22 ` Patrick Williams
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Williams @ 2021-12-09 3:22 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
[-- Attachment #1: Type: text/plain, Size: 1911 bytes --]
On Wed, Dec 08, 2021 at 11:27:35AM -0800, Khem Raj wrote:
> On Wed, Dec 8, 2021 at 9:15 AM Patrick Williams <patrick@stwcx.xyz> wrote:
> >
> > libunifex is a library for enabling C++ "Unified Executors" in C++20,
> > based on current standards work being proposed for C++23 (P2300)[1].
> > This library provides C++20 support for async and co-routines.
> >
> > 1. https://isocpp.org/files/papers/P2300R3.html
> >
> > Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> > ---
> > meta-oe/recipes-devtools/unifex/unifex_git.bb | 26 +++++++++++++++++++
> > 1 file changed, 26 insertions(+)
> > create mode 100644 meta-oe/recipes-devtools/unifex/unifex_git.bb
> >
> > diff --git a/meta-oe/recipes-devtools/unifex/unifex_git.bb b/meta-oe/recipes-devtools/unifex/unifex_git.bb
> > new file mode 100644
> > index 000000000..09b8c2254
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/unifex/unifex_git.bb
> > @@ -0,0 +1,26 @@
> > +DESCRIPTION = "C++ Unified Executors library"
> > +HOMEPAGE = "https://github.com/facebookexperimental/libunifex"
> > +SECTION = "libs"
> > +LICENSE = "Apache-2.0-with-LLVM-exception"
> > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5b86506074cb3cdc493b4f96b73b2909"
> > +
> > +SRC_URI = "git://github.com/facebookexperimental/libunifex.git;branch=main"
>
> also set protocol=https explicitly in SRC_URI
>
Ack.
> > +SRCREV = "9df21c58d34ce8a1cd3b15c3a7347495e29417a0"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit cmake pkgconfig
> > +
> > +DEPENDS = ""
>
> Do we need to empty out DEPENDS ?
>
Ooops. I started with the boost-url recipe and deleted 'boost', thinking there
might be some dependency I'd need and I'd add it as I discovered it... and then
forgot to delete this when there weren't any.
> > +
> > +BBCLASSEXTEND = "native nativesdk"
>
> move this below EXTRA_OECMAKE
Ack.
--
Patrick Williams
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [meta-oe][PATCH v2] unifex: add recipe
2021-12-08 17:15 [meta-oe][PATCH] unifex: add recipe Patrick Williams
2021-12-08 19:27 ` [oe] " Khem Raj
@ 2021-12-09 3:25 ` Patrick Williams
1 sibling, 0 replies; 4+ messages in thread
From: Patrick Williams @ 2021-12-09 3:25 UTC (permalink / raw)
To: openembedded-devel; +Cc: Patrick Williams
libunifex is a library for enabling C++ "Unified Executors" in C++20,
based on current standards work being proposed for C++23 (P2300)[1].
This library provides C++20 support for async and co-routines.
1. https://isocpp.org/files/papers/P2300R3.html
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
---
meta-oe/recipes-devtools/unifex/unifex_git.bb | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 meta-oe/recipes-devtools/unifex/unifex_git.bb
diff --git a/meta-oe/recipes-devtools/unifex/unifex_git.bb b/meta-oe/recipes-devtools/unifex/unifex_git.bb
new file mode 100644
index 000000000..85fe39b6d
--- /dev/null
+++ b/meta-oe/recipes-devtools/unifex/unifex_git.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "C++ Unified Executors library"
+HOMEPAGE = "https://github.com/facebookexperimental/libunifex"
+SECTION = "libs"
+LICENSE = "Apache-2.0-with-LLVM-exception"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5b86506074cb3cdc493b4f96b73b2909"
+
+SRC_URI = "git://github.com/facebookexperimental/libunifex.git;branch=main;protocol=https"
+SRCREV = "9df21c58d34ce8a1cd3b15c3a7347495e29417a0"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+PACKAGECONFIG ??= "liburing"
+PACKAGECONFIG[liburing] = ",,liburing"
+
+EXTRA_OECMAKE += " \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_CXX_STANDARD=20 \
+ -DUNIFEX_BUILD_EXAMPLES=OFF \
+ "
+
+BBCLASSEXTEND = "native nativesdk"
--
2.32.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-09 3:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 17:15 [meta-oe][PATCH] unifex: add recipe Patrick Williams
2021-12-08 19:27 ` [oe] " Khem Raj
2021-12-09 3:22 ` Patrick Williams
2021-12-09 3:25 ` [meta-oe][PATCH v2] " Patrick Williams
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.