summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-02-06 22:02:39 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-08 23:14:51 +0000
commitf2dcb4938e505002d03414ca61ec9ca124f725b1 (patch)
tree624e39c6cc761cf640e7ae99ed044858f3cfaf4c
parent277e65c3c8431acff7a9de38cc1af97507c0ca16 (diff)
downloadpoky-f2dcb4938e505002d03414ca61ec9ca124f725b1.tar.gz
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>
-rw-r--r--meta/recipes-core/expat/expat/run-ptest2
-rw-r--r--meta/recipes-core/expat/expat_2.6.0.bb (renamed from meta/recipes-core/expat/expat_2.5.0.bb)5
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-core/expat/expat/run-ptest b/meta/recipes-core/expat/expat/run-ptest
index dbf602ca80..ff7986db3c 100644
--- a/meta/recipes-core/expat/expat/run-ptest
+++ b/meta/recipes-core/expat/expat/run-ptest
@@ -5,5 +5,5 @@ TIME=$(which time)
5echo "runtests" 5echo "runtests"
6${TIME} -f 'Execution time: %e s' bash -c "./runtests -v" 6${TIME} -f 'Execution time: %e s' bash -c "./runtests -v"
7echo "runtestspp" 7echo "runtestspp"
8${TIME} -f 'Execution time: %e s' bash -c "./runtestspp -v" 8${TIME} -f 'Execution time: %e s' bash -c "./runtests_cxx -v"
9echo 9echo
diff --git a/meta/recipes-core/expat/expat_2.5.0.bb b/meta/recipes-core/expat/expat_2.6.0.bb
index aa8d439d5f..1f9f7b269a 100644
--- a/meta/recipes-core/expat/expat_2.5.0.bb
+++ b/meta/recipes-core/expat/expat_2.6.0.bb
@@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \
15GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/" 15GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/"
16UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)" 16UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)"
17 17
18SRC_URI[sha256sum] = "6f0e6e01f7b30025fa05c85fdad1e5d0ec7fd35d9f61b22f34998de11969ff67" 18SRC_URI[sha256sum] = "ff60e6a6b6ce570ae012dc7b73169c7fdf4b6bf08c12ed0ec6f55736b78d85ba"
19 19
20EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF" 20EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"
21 21
@@ -24,7 +24,8 @@ RDEPENDS:${PN}-ptest += "bash"
24inherit cmake lib_package ptest github-releases 24inherit cmake lib_package ptest github-releases
25 25
26do_install_ptest:class-target() { 26do_install_ptest:class-target() {
27 install -m 755 ${B}/tests/* ${D}${PTEST_PATH} 27 install -m 755 ${B}/tests/runtests* ${D}${PTEST_PATH}
28 install -m 755 ${B}/tests/benchmark/benchmark ${D}${PTEST_PATH}
28} 29}
29 30
30BBCLASSEXTEND += "native nativesdk" 31BBCLASSEXTEND += "native nativesdk"