All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Patrick Williams <patrick@stwcx.xyz>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [meta-oe][PATCH] unifex: add recipe
Date: Wed, 8 Dec 2021 11:27:35 -0800	[thread overview]
Message-ID: <CAMKF1spC7M4AO2eCey1G9MfyfLVELug3RaKjS5bOUKjxHAxXCg@mail.gmail.com> (raw)
In-Reply-To: <20211208171543.1234000-1-patrick@stwcx.xyz>

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]
> -=-=-=-=-=-=-=-=-=-=-=-
>


  reply	other threads:[~2021-12-08 19:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-08 17:15 [meta-oe][PATCH] unifex: add recipe Patrick Williams
2021-12-08 19:27 ` Khem Raj [this message]
2021-12-09  3:22   ` [oe] " Patrick Williams
2021-12-09  3:25 ` [meta-oe][PATCH v2] " Patrick Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMKF1spC7M4AO2eCey1G9MfyfLVELug3RaKjS5bOUKjxHAxXCg@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=patrick@stwcx.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.