diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2021-12-08 21:25:20 -0600 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-12-09 08:37:06 -0800 |
| commit | edc54a229fc3c50d2cd41e400b18feb3ae41cfb4 (patch) | |
| tree | 0db80703ce88139ab419b52ad28323dca0af6632 | |
| parent | 2ce62b0658dc6696cb784be86208b7d91c8ed16e (diff) | |
| download | meta-openembedded-edc54a229fc3c50d2cd41e400b18feb3ae41cfb4.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-devtools/unifex/unifex_git.bb | 24 |
1 files changed, 24 insertions, 0 deletions
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 0000000000..85fe39b6de --- /dev/null +++ b/meta-oe/recipes-devtools/unifex/unifex_git.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DESCRIPTION = "C++ Unified Executors library" | ||
| 2 | HOMEPAGE = "https://github.com/facebookexperimental/libunifex" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "Apache-2.0-with-LLVM-exception" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5b86506074cb3cdc493b4f96b73b2909" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/facebookexperimental/libunifex.git;branch=main;protocol=https" | ||
| 8 | SRCREV = "9df21c58d34ce8a1cd3b15c3a7347495e29417a0" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | inherit cmake pkgconfig | ||
| 13 | |||
| 14 | PACKAGECONFIG ??= "liburing" | ||
| 15 | PACKAGECONFIG[liburing] = ",,liburing" | ||
| 16 | |||
| 17 | EXTRA_OECMAKE += " \ | ||
| 18 | -DBUILD_SHARED_LIBS=ON \ | ||
| 19 | -DBUILD_TESTING=OFF \ | ||
| 20 | -DCMAKE_CXX_STANDARD=20 \ | ||
| 21 | -DUNIFEX_BUILD_EXAMPLES=OFF \ | ||
| 22 | " | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native nativesdk" | ||
