Skip to contentSkip to conversation

glaze: add recipe

PATCH Superseded Frede Hoey Braendstrup 2 participants 8 messages Jan 19 – Jan 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +11 -0
new file mode 100644
index 0000000000..48fc3ab081
@@ -0,0 +1,11 @@
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main"
+
+SRCREV = "ddea99c503ac4578cf556e2f6ac0b64e0d9d470f"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
#1 lore raw

PATCH v2 1/1 glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +13 -0
new file mode 100644
index 0000000000..f92777a25f
@@ -0,0 +1,13 @@
+DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
#2 lore raw

PATCH 1/1 glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +13 -0
new file mode 100644
index 0000000000..f92777a25f
@@ -0,0 +1,13 @@
+DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
#3 lore raw

PATCH v3 1/1 glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +13 -0
new file mode 100644
index 0000000000..6526b1d8a3
@@ -0,0 +1,13 @@
+DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
#4 lore raw
Quoted 22 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Frederik Brændstrup via lists.openembedded.org
Sent: den 19 januari 2026 13:30
To: [email protected]
Cc: Frede Hoey Braendstrup <[email protected]>
Subject: [oe] [PATCH v3] glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +4 -0
new file mode 100644
index 0000000000..6526b1d8a3
@@ -0,0 +1,13 @@
+DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

meta-oe/recipes-support/glaze/glaze_7.0.1.bb

Quoted 10 lines
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +9 -1
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
--

We use the following recipe for glaze:

SUMMARY = "Header-only C++23 JSON library with compile time reflection" HOMEPAGE = "https://github.com/stephenberry/glaze"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"

SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main"

inherit cmake

EXTRA_OECMAKE += "-Dglaze_BUILD_EXAMPLES=OFF -Dglaze_DEVELOPER_MODE=OFF"

do_install:append() {
    install -d ${D}${datadir}/cmake/${BPN}
    mv -f ${D}${datadir}/${BPN}/*.cmake ${D}${datadir}/cmake/${BPN}
    rmdir -p --ignore-fail-on-non-empty ${D}${datadir}/${BPN}
}

# Glaze is a header-only C++ library, so the main package will be empty. ALLOW_EMPTY:${PN} = "1"

BBCLASSEXTEND = "native"

I believe there a some pieces that you may want to pick up.

//Peter

#5 lore raw

Hi Peter

Thanks for your input!

Sorry for the noise in in sending multiple mails for the same inital recipe

Quoted 38 lines · Peter Kjellerstedt
Quoted 22 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Frederik Brændstrup via lists.openembedded.org
Sent: den 19 januari 2026 13:30
To: [email protected]
Cc: Frede Hoey Braendstrup <[email protected]>
Subject: [oe] [PATCH v3] glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +4 -0
new file mode 100644
index 0000000000..6526b1d8a3
@@ -0,0 +1,13 @@
+DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

meta-oe/recipes-support/glaze/glaze_7.0.1.bb

Quoted 10 lines
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +9 -1
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
--

We use the following recipe for glaze:

SUMMARY = "Header-only C++23 JSON library with compile time reflection" HOMEPAGE = "https://github.com/stephenberry/glaze"

Quoted 6 lines

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"

SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main"

Should we add the ;tag=v${PV} here?

Quoted 11 lines

inherit cmake

EXTRA_OECMAKE += "-Dglaze_BUILD_EXAMPLES=OFF -Dglaze_DEVELOPER_MODE=OFF"

do_install:append() {
    install -d ${D}${datadir}/cmake/${BPN}
    mv -f ${D}${datadir}/${BPN}/*.cmake ${D}${datadir}/cmake/${BPN}
    rmdir -p --ignore-fail-on-non-empty ${D}${datadir}/${BPN}
}
Quoted 8 lines

# Glaze is a header-only C++ library, so the main package will be empty. ALLOW_EMPTY:${PN} = "1"

BBCLASSEXTEND = "native"

I believe there a some pieces that you may want to pick up.

//Peter

/Frede

#6 lore raw
Quoted 52 lines

-----Original Message-----
From: Frede Hoey Braendstrup <[email protected]>
Sent: den 20 januari 2026 19:40
To: Peter Kjellerstedt <[email protected]>; [email protected]; [email protected]
Subject: Re: [oe] [PATCH v3] glaze: add recipe

Hi Peter

Thanks for your input!

Sorry for the noise in in sending multiple mails for the same inital recipe

Quoted 38 lines · Peter Kjellerstedt
Quoted 22 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Frederik Brændstrup via lists.openembedded.org
Sent: den 19 januari 2026 13:30
To: [email protected]
Cc: Frede Hoey Braendstrup <[email protected]>
Subject: [oe] [PATCH v3] glaze: add recipe

---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +4 -0
new file mode 100644
index 0000000000..6526b1d8a3
@@ -0,0 +1,13 @@
+DESCRIPTION = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

meta-oe/recipes-support/glaze/glaze_7.0.1.bb

Quoted 10 lines
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +9 -1
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF"
+
--

We use the following recipe for glaze:

SUMMARY = "Header-only C++23 JSON library with compile time reflection" HOMEPAGE = "https://github.com/stephenberry/glaze"

Quoted 8 lines
Quoted 6 lines

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"

SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"

SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main"

Should we add the ;tag=v${PV} here?

Yes.

Quoted 15 lines
Quoted 15 lines

inherit cmake

EXTRA_OECMAKE += "-Dglaze_BUILD_EXAMPLES=OFF -Dglaze_DEVELOPER_MODE=OFF"

do_install:append() {
    install -d ${D}${datadir}/cmake/${BPN}
    mv -f ${D}${datadir}/${BPN}/*.cmake ${D}${datadir}/cmake/${BPN}
    rmdir -p --ignore-fail-on-non-empty ${D}${datadir}/${BPN}
}

# Glaze is a header-only C++ library, so the main package will be empty. ALLOW_EMPTY:${PN} = "1"

Quoted 7 lines
Quoted 5 lines

BBCLASSEXTEND = "native"

I believe there a some pieces that you may want to pick up.

//Peter

/Frede

//Peter

#7 lore raw

PATCH v2 1/1 glaze: add recipe at 7.0.1

In reply to Frede Hoey Braendstrup
---
 meta-oe/recipes-support/glaze/glaze_7.0.1.bb | 23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-support/glaze/glaze_7.0.1.bb
meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file +23 -0
new file mode 100644
index 0000000000..e481290b9c
@@ -0,0 +1,23 @@
+SUMMARY = "Extremely fast, in memory, JSON and reflection library for modern C++. BEVE, CBOR, CSV, MessagePack, TOML, EETF "
+HOMEPAGE = "https://stephenberry.github.io/glaze/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
+
+SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
+
+SRCREV = "a4af950700b8af2659f0d4a37a18a1b9c5300593"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF -Dglaze_DEVELOPER_MODE=OFF"
+
+do_install:append() {
+    install -d ${D}${datadir}/cmake/${BPN}
+    mv -f ${D}${datadir}/${BPN}/*.cmake ${D}${datadir}/cmake/${BPN}
+    rmdir -p --ignore-fail-on-non-empty ${D}${datadir}/${BPN}
+}
+
+# Glaze is a header-only C++ library, so the main package will be empty.
+ALLOW_EMPTY:${PN} = "1"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.52.0