All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.