diff options
author | Uwe Kleine-König <ukleinek@debian.org> | 2019-06-21 21:00:49 +0200 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@debian.org> | 2019-06-21 21:09:29 +0200 |
commit | 8f976d1680dd3bbdc434b1a8eab56226f5b66022 (patch) | |
tree | 4080cbc6c5ff16ea9299119bfef1870ba0597016 | |
parent | 9c4f030b098c472f1cdeafef2af8104bcbeb31d9 (diff) | |
download | rt-tests-8f976d1680dd3bbdc434b1a8eab56226f5b66022.tar.gz rt-tests-8f976d1680dd3bbdc434b1a8eab56226f5b66022.tar.xz |
[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
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 7 insertions, 1 deletions
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 <ukleinek@debian.org> 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 |