SUMMARY = "NUMA load distributing daemon" DESCRIPTION = 'A user-level daemon that monitors NUMA topology and processes resource \ consumption to facilitate good NUMA resource access of applications/virtual machines \ to improve performance and minimize cost of remote memory latencies.' HOMEPAGE = "https://git.fedorahosted.org/git/numad.git" SECTION = "console/utils" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://numad.c;beginline=1;endline=19;md5=fc770296e974bef07ddd7033725c8e29" SRC_URI = "git://git.fedorahosted.org/git/numad.git;protocol=https;branch=master \ file://Makefile.patch \ file://test.patch \ file://run-ptest \ file://numad.init.patch \ file://numad.conf.patch" SRCREV = "b621838bf9c8203e87137eca28e19bcc381cde2a" S = "${WORKDIR}/git" #clear .LIBPATTERNS instead of using VPATH="${STAGING_LIBDIR}:${STAGING_DIR_HOST}/${base_libdir}" EXTRA_OEMAKE = 'prefix=${D}/usr TEST_DESTDIR=${D}${PTEST_PATH} .LIBPATTERNS=""' do_install () { oe_runmake install install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/numad.init ${D}${sysconfdir}/init.d install -m 0644 ${S}/numad.conf ${D}${sysconfdir} } inherit update-rc.d ptest DEPENDS_${PN}-ptest += "numactl" RDEPENDS_${PN}-ptest += "libnuma" INITSCRIPT_NAME = "numad.init" #INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." INITSCRIPT_PARAMS = "stop 20 5 2 . stop 20 0 1 6 ." #wait for numa.h do_compile_ptest_base[depends] += "numactl:do_populate_sysroot" do_install_ptest () { oe_runmake test-install } do_compile_ptest () { oe_runmake test }