mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
expat: Upgrade to 2.6.0
Package and run benchmark as part of ptest This is a major release with following changes [1] [1] https://github.com/libexpat/libexpat/blob/R_2_6_0/expat/Changes (From OE-Core rev: 0f5a64aecec9d50b50e2ca70bb1a7e4b680bc4ce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -5,5 +5,5 @@ TIME=$(which time)
|
||||
echo "runtests"
|
||||
${TIME} -f 'Execution time: %e s' bash -c "./runtests -v"
|
||||
echo "runtestspp"
|
||||
${TIME} -f 'Execution time: %e s' bash -c "./runtestspp -v"
|
||||
${TIME} -f 'Execution time: %e s' bash -c "./runtests_cxx -v"
|
||||
echo
|
||||
|
||||
@@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \
|
||||
GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/"
|
||||
UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)"
|
||||
|
||||
SRC_URI[sha256sum] = "6f0e6e01f7b30025fa05c85fdad1e5d0ec7fd35d9f61b22f34998de11969ff67"
|
||||
SRC_URI[sha256sum] = "ff60e6a6b6ce570ae012dc7b73169c7fdf4b6bf08c12ed0ec6f55736b78d85ba"
|
||||
|
||||
EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"
|
||||
|
||||
@@ -24,7 +24,8 @@ RDEPENDS:${PN}-ptest += "bash"
|
||||
inherit cmake lib_package ptest github-releases
|
||||
|
||||
do_install_ptest:class-target() {
|
||||
install -m 755 ${B}/tests/* ${D}${PTEST_PATH}
|
||||
install -m 755 ${B}/tests/runtests* ${D}${PTEST_PATH}
|
||||
install -m 755 ${B}/tests/benchmark/benchmark ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
BBCLASSEXTEND += "native nativesdk"
|
||||
Reference in New Issue
Block a user