mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
unifex: add recipe
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
2ce62b0658
commit
edc54a229f
24
meta-oe/recipes-devtools/unifex/unifex_git.bb
Normal file
24
meta-oe/recipes-devtools/unifex/unifex_git.bb
Normal file
|
|
@ -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"
|
||||
Loading…
Reference in New Issue
Block a user