Files
poky/meta/recipes-devtools/fmt/fmt_11.2.0.bb
Gyorgy Sarvari 351f7f3b4c fmt: make ptest installation and execution more posix compliant
Instead of using `ls...` just enumerate the folder content with an asterisk.

No behavior change should come from this patch.

(From OE-Core rev: b1870e588958fa6957278a6c253a70fa30485764)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00

26 lines
901 B
BlitzBasic

SUMMARY = "open-source formatting library for C++"
DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
HOMEPAGE = "https://fmt.dev"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b9257785fc4f3803a4b71b76c1412729"
SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV}\
file://0001-Workaround-an-ABI-issue-in-spdlog.patch \
file://0001-Fix-compilation-on-clang-21-libc-21-4477.patch \
file://run-ptest \
"
SRCREV = "40626af88bd7df9a5fb80be7b25ac85b122d6c21"
inherit cmake ptest
EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DFMT_TEST=ON', '', d)}"
do_install_ptest(){
for t in ${B}/bin/*-test; do
install $t ${D}${PTEST_PATH}/
done
}
BBCLASSEXTEND = "native nativesdk"