Skip to contentSkip to conversation

span-lite: Init at 0.6.0

PATCH In review William A. Kennington III 3 participants 4 messages Oct 18, 2019 – Feb 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 span-lite: Init at 0.6.0

---
 meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb
meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb new file +12 -0
new file mode 100644
index 000000000..0ea2dcc8d
@@ -0,0 +1,12 @@
+SUMMARY = "single-file header-only version of a C++20-like span for C++98, C++11 and later"
+HOMEPAGE = "https://github.com/martinmoene/span-lite"
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI += "git://github.com/martinmoene/span-lite"
+SRCREV = "34118d2df7976f635c8fd35b5959f86cb52ba93c"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
Signature · 1 line
2.22.0
#1 lore raw
Quoted 12 lines · William A. Kennington III via Openembedded-devel
---
  meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb

meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb new file +0 -0
new file mode 100644
index 000000000..0ea2dcc8d

meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb line 2

Quoted 2 lines
meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb new file +2 -0
@@ -0,0 +1,12 @@
+SUMMARY = "single-file header-only version of a C++20-like span for C++98, C++11 and later"
+HOMEPAGE = "https://github.com/martinmoene/span-lite"

Could you add a description for people who are not familiar with the package?

Copying the "In a nutshell" intro from github:

DESCRIPTION = "span-lite is a single-file header-only library to \
provide a bounds-safe view for sequences of objects. The \
library provides a C++20-like span for use with C++98 and later. \
If available, std::span is used, unless configured otherwise. \
span-lite can detect the presence of byte-lite and if present, \
it provides as_bytes() and as_writeable_bytes() also for C++14 \
and earlier."

would be fine.

Thanks,
../Randy

Quoted 11 lines
meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb new file +10 -0
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI += "git://github.com/martinmoene/span-lite"
+SRCREV = "34118d2df7976f635c8fd35b5959f86cb52ba93c"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#2 lore raw
In reply to William A. Kennington III

also fails with libc++/clang

https://errors.yoctoproject.org/Errors/Details/274130/

Quoted 33 lines · William A. Kennington III via Openembedded-devel
---
 meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb
meta-oe/recipes-support/span-lite/span-lite_0.6.0.bb new file +12 -1
new file mode 100644
index 000000000..0ea2dcc8d
@@ -0,0 +1,12 @@
+SUMMARY = "single-file header-only version of a C++20-like span for C++98, C++11 and later"
+HOMEPAGE = "https://github.com/martinmoene/span-lite"
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI += "git://github.com/martinmoene/span-lite"
+SRCREV = "34118d2df7976f635c8fd35b5959f86cb52ba93c"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
--

2.22.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

PATCH v2 1/1 span-lite: Add git version

In reply to William A. Kennington III

We would generally prefer to use stable releases, but there are fixes in master that have not yet been released for compiling the test cases against libc++.

---
 meta-oe/recipes-support/span-lite/span-lite_git.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-support/span-lite/span-lite_git.bb
meta-oe/recipes-support/span-lite/span-lite_git.bb new file +12 -0
new file mode 100644
index 000000000..96ec829b7
@@ -0,0 +1,12 @@
+SUMMARY = "single-file header-only version of a C++20-like span for C++98, C++11 and later"
+HOMEPAGE = "https://github.com/martinmoene/span-lite"
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI += "git://github.com/martinmoene/span-lite"
+SRCREV = "e03d1166ccc8481d993dc02aae703966301a5e6e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
Signature · 1 line
2.24.1