From fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 20 Jun 2025 16:06:53 +0200 Subject: meta-openembedded/all: adapt to UNPACKDIR changes Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin Signed-off-by: Khem Raj --- meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb | 1 - meta-oe/recipes-benchmark/fio/fio_3.39.bb | 1 - meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 1 - meta-oe/recipes-benchmark/iozone3/iozone3_507.bb | 2 +- meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb | 2 +- meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | 1 - meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb | 1 - meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb | 1 - meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 3 +-- meta-oe/recipes-benchmark/mbw/mbw_2.0.bb | 1 - .../phoronix-test-suite/phoronix-test-suite_10.8.4.bb | 2 +- meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb | 1 - meta-oe/recipes-benchmark/s-suite/s-suite_git.bb | 1 - meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb | 1 - meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb | 1 - meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb | 1 - meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb | 3 +-- 17 files changed, 5 insertions(+), 19 deletions(-) (limited to 'meta-oe/recipes-benchmark') diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb index c58524aa64..feda6599a8 100644 --- a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb @@ -15,7 +15,6 @@ SRC_URI = "git://github.com/ssvb/cpuburn-arm.git;branch=master;protocol=https \ file://0003-burn.S-Remove-.func-.endfunc.patch \ " -S = "${WORKDIR}/git" do_compile() { diff --git a/meta-oe/recipes-benchmark/fio/fio_3.39.bb b/meta-oe/recipes-benchmark/fio/fio_3.39.bb index 91bd23e50e..345c7f08e7 100644 --- a/meta-oe/recipes-benchmark/fio/fio_3.39.bb +++ b/meta-oe/recipes-benchmark/fio/fio_3.39.bb @@ -27,7 +27,6 @@ SRCREV = "a6e474c9e896e4ba1eb40066a03402afb040710a" UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P\d+(\.\d+)+)" -S = "${WORKDIR}/git" # avoids build breaks when using no-static-libs.inc DISABLE_STATIC = "" diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb index 0b61d6ed62..8bcb763f06 100644 --- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb @@ -21,7 +21,6 @@ SRC_URI = " \ " SRCREV = "42e3d8fe3aa88743ef90348138f643f7b04a9237" -S = "${WORKDIR}/git" inherit meson pkgconfig features_check diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb index 8e229499b1..725b0af209 100644 --- a/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb +++ b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb @@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "1e8087ada056f5d8018ee0bc76686d416fc2251ed03038055dbd0af78d UPSTREAM_CHECK_REGEX = "iozone3_(?P\d+).tar" -S = "${WORKDIR}/${BPN}_${PV}/src/current" +S = "${UNPACKDIR}/${BPN}_${PV}/src/current" # # All other arches can use the default OEMAKE except those diff --git a/meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb b/meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb index c353ce02e1..3d965dac00 100644 --- a/meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb +++ b/meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb @@ -10,7 +10,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/iperf-${PV}.tar.gz \ SRC_URI[sha256sum] = "754ab0a7e28033dbea81308ef424bc7df4d6e2fe31b60cc536b61b51fefbd8fb" -S = "${WORKDIR}/iperf-${PV}" +S = "${UNPACKDIR}/iperf-${PV}" inherit autotools pkgconfig diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb index 4a71e83b73..08f29937c0 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb @@ -20,7 +20,6 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" -S = "${WORKDIR}/git" inherit autotools diff --git a/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb b/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb index df76067a44..ae87262870 100644 --- a/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb +++ b/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb @@ -16,7 +16,6 @@ SRC_URI = "git://git.musl-libc.org/libc-bench;branch=master \ # Upstream repo does not tag UPSTREAM_CHECK_COMMITS = "1" -S = "${WORKDIR}/git" do_install () { install -d ${D}${bindir} diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb index 6d96a13cd4..e688d6ede2 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb @@ -28,7 +28,6 @@ SRC_URI = " \ UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" -S = "${WORKDIR}/git" COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" diff --git a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb index 735b5560e0..6a500dbf01 100644 --- a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb +++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb @@ -10,8 +10,7 @@ SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpack " SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e" -S = "${WORKDIR}/sources" -UNPACKDIR = "${S}" +S = "${UNPACKDIR}" do_compile () { ${CC} ${CFLAGS} ${LDFLAGS} -DDP -o linpack_dp linpacknew.c -lm diff --git a/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb b/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb index bb8c4625d5..1fd95de038 100644 --- a/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb +++ b/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb @@ -8,7 +8,6 @@ SRC_URI = "git://github.com/raas/${BPN}.git;branch=master;protocol=https" SRCREV = "c3155b544a5065e8235508059c6512af6c46bd4d" -S = "${WORKDIR}/git" do_install() { install -d ${D}${bindir} diff --git a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb index 7ca80c02af..5f105c9f8e 100644 --- a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb +++ b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb @@ -11,7 +11,7 @@ SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz \ SRC_URI[sha256sum] = "1f2092d536c0a3193efc53e4a50f3cee65c0ef1a78d31e5404f1c663fff7b7f4" -S = "${WORKDIR}/phoronix-test-suite" +S = "${UNPACKDIR}/phoronix-test-suite" inherit systemd allarch mime mime-xdg diff --git a/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb b/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb index b32f37153e..e034371604 100644 --- a/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb +++ b/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb @@ -9,7 +9,6 @@ inherit autotools-brokensep SRCREV = "c706363815a38ff2c5cbc07b73e2cfaaa59bae0f" SRC_URI = "git://github.com/linux-rdma/qperf.git;protocol=https;branch=master" -S = "${WORKDIR}/git" do_configure() { ./cleanup diff --git a/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb index 2cfeb72416..caefdb7b6b 100644 --- a/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb +++ b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb @@ -10,7 +10,6 @@ SRC_URI = "git://github.com/Algodev-github/S.git;protocol=https;branch=master" # upstream updates UPSTREAM_CHECK_COMMITS = "1" -S = "${WORKDIR}/git" # installing in /opt/S-suite since the package has # dependencies to the directory structure. diff --git a/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb b/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb index ba61ff971e..2d450094b7 100644 --- a/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb +++ b/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb @@ -18,6 +18,5 @@ GI_DATA_ENABLED:libc-musl:armv7a = "False" GI_DATA_ENABLED:libc-musl:armv7ve = "False" SRC_URI = "git://github.com/stressapptest/stressapptest;branch=master;protocol=https" -S = "${WORKDIR}/git" inherit autotools diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb index 11e33fec55..198552e5c6 100644 --- a/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb +++ b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb @@ -13,7 +13,6 @@ inherit autotools-brokensep pkgconfig SRC_URI = "git://github.com/akopytov/sysbench.git;protocol=https;branch=master" SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557" -S = "${WORKDIR}/git" COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*" diff --git a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb index 200a0de849..8f65a6135c 100644 --- a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb +++ b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb @@ -13,7 +13,6 @@ SRC_URI = "git://github.com/ssvb/tinymembench.git;branch=master;protocol=https \ file://0001-asm-Delete-.func-.endfunc-directives.patch \ " -S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" diff --git a/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb b/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb index fa80236022..0c6661567b 100644 --- a/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb +++ b/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb @@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/whetstone.c;beginline=1;endline=52;md5=c SRC_URI = "http://www.netlib.org/benchmark/whetstone.c" SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf" -S = "${WORKDIR}/sources" -UNPACKDIR = "${S}" +S = "${UNPACKDIR}" do_compile () { ${CC} ${CFLAGS} ${LDFLAGS} -Ofast -o whetstone whetstone.c -lm -- cgit v1.2.3-54-g00ecf