Files
poky/meta/recipes-support/numactl/numactl_2.0.19.bb
Wang Mingyu 8d78895864 numactl: upgrade 2.0.18 -> 2.0.19
Changelog:
===========
- Fix fallback for set_mempolicy_home_node syscall
- Add -w and --weighted-interleave for weighted interleave mode
- Fix the using of the uninitialized value
- Fix RESOURCE_LEAK in show()
- Add documentation for weighted interleave
- Don't fail build when set_mempolicy_home_node syscall is unknown
- eliminate hard-coded tables
- Update numactl.c (green-br)
- fix nodemask allocation size for get_mempolicy
- Save and restore errno when probing for SET_PREFERRED_MANY
- Make numa_available respect EPERM
- Fix unitialized variables
- more unitialized variables
- Replace fgrep with grep -F to fix warning
- Set version number back again
- Increase version number to 2.0.19
- Regenerate configure for new version

(From OE-Core rev: 7939e3289527a0b93f45efd17733c1e5eac42934)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00

59 lines
1.8 KiB
BlitzBasic

SUMMARY = "Development package for building Applications that use numa"
HOMEPAGE = "http://oss.sgi.com/projects/libnuma/"
DESCRIPTION = "Simple NUMA policy support. It consists of a numactl program \
to run other programs with a specific NUMA policy and a libnuma to do \
allocations with NUMA policy in applications."
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
SECTION = "apps"
inherit autotools-brokensep ptest
LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=9f34c3af4ed6f3f5df0da5f3c0835a43"
SRCREV = "3bc85e37d5a30da6790cb7e8bb488bb8f679170f"
SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \
file://Fix-the-test-output-format.patch \
file://Makefile \
file://run-ptest \
file://0001-define-run-test-target.patch \
"
S = "${WORKDIR}/git"
LDFLAGS:append:riscv64 = " -latomic"
LDFLAGS:append:riscv32 = " -latomic"
do_install() {
oe_runmake DESTDIR=${D} prefix=${D}/usr install
#remove the empty man2 directory
rm -r ${D}${mandir}/man2
}
do_compile_ptest() {
oe_runmake test
}
do_install_ptest() {
#install tests binaries
local test_binaries="distance ftok mbind_mig_pages migrate_pages move_pages \
mynode nodemap node-parse pagesize prefered randmap realloc_test \
tbitmap tshared"
[ ! -d ${D}/${PTEST_PATH}/test ] && mkdir -p ${D}/${PTEST_PATH}/test
for i in $test_binaries; do
install -m 0755 ${B}/test/.libs/$i ${D}${PTEST_PATH}/test
done
local test_scripts="checktopology checkaffinity printcpu regress regress2 \
shmtest runltp bind_range"
for i in $test_scripts; do
install -m 0755 ${B}/test/$i ${D}${PTEST_PATH}/test
done
install -m 0755 ${UNPACKDIR}/Makefile ${D}${PTEST_PATH}/
install -m 0755 ${B}/.libs/numactl ${D}${PTEST_PATH}/
}
RDEPENDS:${PN}-ptest = "bash"