rt-tests: add missing build dependencies
PATCH 1/1 rt-tests: add missing build dependencies
hackbench links to but doesn't depend on librttest.a, so parallel builds can randomly fail.
Signed-off-by Ross Burton <[email protected]>
--- ...d-missing-build-dependencies-to-hackbench.patch | 32 ++++++++++++++++++++ meta/recipes-rt/rt-tests/rt-tests.inc | 5 +-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-rt/rt-tests/files/0001-Add-missing-build-dependencies-to-hackbench.patch
meta/recipes-rt/rt-tests/files/0001-Add-missing-build-dependencies-to-hackbench.patch new file +32 -0
@@ -0,0 +1,32 @@ +Upstream-Status: Submitted [email] +Signed-off-by: Ross Burton <[email protected]> + +From 640aea5bd51ea380d299df16cb90b290a0b54ac9 Mon Sep 17 00:00:00 2001 +From: Ross Burton <[email protected]> +Date: Fri, 7 Dec 2012 11:58:12 +0000 +Subject: [PATCH] Add missing build dependencies to hackbench + +hackbench links to librttest.a but doesn't depend on it, so building it +explicitly or in parallel builds this can fail. + +Signed-off-by: Ross Burton <[email protected]> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index fd3cdb3..95030d9 100644 +--- a/Makefile ++++ b/Makefile +@@ -96,7 +96,7 @@ sendme: sendme.o librttest.a + pip_stress: pip_stress.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + +-hackbench: hackbench.o ++hackbench: hackbench.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + + librttest.a: rt-utils.o error.o rt-get_cpu.o +-- +1.7.10 +
meta/recipes-rt/rt-tests/rt-tests.inc +3 -2
@@ -5,9 +5,10 @@ PR = "r0" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \ file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \ - file://0002-rt-tests-Break-out-install_hwlatdetect.patch" + file://0002-rt-tests-Break-out-install_hwlatdetect.patch \ + file://0001-Add-missing-build-dependencies-to-hackbench.patch" -INC_PR = "r0" +INC_PR = "r1" S = "${WORKDIR}/git"
Signature · 1 line
1.7.10
Quoted 2 lines · Ross Burton
hackbench links to but doesn't depend on librttest.a, so parallel builds can randomly fail.
Retracting this, I was beaten to it by a few hours.
Ross