| Message ID | 20260119122944.1111081-2-frederikbraendstrup@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [v3] glaze: add recipe | expand |
> -----Original Message----- > From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Frederik Brændstrup via lists.openembedded.org > Sent: den 19 januari 2026 13:30 > To: openembedded-devel@lists.openembedded.org > Cc: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com> > 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 > > diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > new file mode 100644 > index 0000000000..6526b1d8a3 > --- /dev/null > +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > @@ -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" > + > -- 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
Hi Peter Thanks for your input! Sorry for the noise in in sending multiple mails for the same inital recipe On Tue Jan 20, 2026 at 2:57 PM CET, Peter Kjellerstedt wrote: >> -----Original Message----- >> From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Frederik Brændstrup via lists.openembedded.org >> Sent: den 19 januari 2026 13:30 >> To: openembedded-devel@lists.openembedded.org >> Cc: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com> >> 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 >> >> diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb >> new file mode 100644 >> index 0000000000..6526b1d8a3 >> --- /dev/null >> +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb >> @@ -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" >> + >> -- > > 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" Should we add the `;tag=v${PV}` here? > > 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 /Frede
> -----Original Message----- > From: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com> > Sent: den 20 januari 2026 19:40 > To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>; frederikbraendstrup@gmail.com; openembedded-devel@lists.openembedded.org > 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 > > On Tue Jan 20, 2026 at 2:57 PM CET, Peter Kjellerstedt wrote: > >> -----Original Message----- > >> From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Frederik Brændstrup via lists.openembedded.org > >> Sent: den 19 januari 2026 13:30 > >> To: openembedded-devel@lists.openembedded.org > >> Cc: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com> > >> 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 > >> > >> diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > >> new file mode 100644 > >> index 0000000000..6526b1d8a3 > >> --- /dev/null > >> +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb > >> @@ -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" > >> + > >> -- > > > > 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" > > Should we add the `;tag=v${PV}` here? Yes. > > > > > 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 > > /Frede //Peter
diff --git a/meta-oe/recipes-support/glaze/glaze_7.0.1.bb b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb new file mode 100644 index 0000000000..6526b1d8a3 --- /dev/null +++ b/meta-oe/recipes-support/glaze/glaze_7.0.1.bb @@ -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" +