From 8f976d1680dd3bbdc434b1a8eab56226f5b66022 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Fri, 21 Jun 2019 21:00:49 +0200 Subject: [debian] Fix selection for building with or without NUMA There were two problems: - The decision was made depending on the build arch. This results in failed cross builds in some situations. - Since commit cf83abda2394 ("Build-Depends += libnuma-dev for powerpcspe, ppc64 and x32") (in 0.85-1) rt-tests depended on libnuma-dev but doesn't explicitly enable it. (It still did the right thing because NUMA defaults to 1 on these platforms.) Closes: https://bugs.debian.org/930836 --- debian/changelog | 6 ++++++ debian/rules | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 708e2d0..bda433c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +rt-tests (1.0-4) UNRELEASED; urgency=medium + + * Fix selection for building with or without NUMA (Closes: #930836) + + -- Uwe Kleine-König Fri, 21 Jun 2019 21:08:18 +0200 + rt-tests (1.0-3) unstable; urgency=medium * drop Recommends to dropped package backfire-dkms (Closes: #869960). diff --git a/debian/rules b/debian/rules index fe935f8..782d6be 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ export prefix=/usr -ifneq (,$(findstring $(DEB_BUILD_ARCH), amd64 i386 ia64 mips mipsel mipsn32 mipsn32el mips64 mips64el powerpc)) +ifneq (,$(findstring $(DEB_HOST_ARCH), amd64 i386 ia64 mips mipsel mipsn32 mipsn32el mips64 mips64el powerpc powerpcspe ppc64 x32)) export NUMA=1 endif -- cgit v1.2.3