From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] numactl: Add new package
Date: Fri, 10 Jun 2022 08:49:26 +0200 [thread overview]
Message-ID: <20220610064926.2825280-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220602122842.26465-2-ada@thorsis.com>
Thanks, applied as 921a7eb3f62f4e5b620ebef85d20aeeca0ce71f2.
Michael
[sent from post-receive hook]
On Fri, 10 Jun 2022 08:49:26 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> This is a requirement for recent releases of the kernel's 'rt-tests'
> utils.
>
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20220602122842.26465-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/numactl.in b/rules/numactl.in
> new file mode 100644
> index 000000000000..66e2645f2d08
> --- /dev/null
> +++ b/rules/numactl.in
> @@ -0,0 +1,18 @@
> +## SECTION=shell_and_console
> +
> +menuconfig NUMACTL
> + tristate
> + prompt "numactl "
> + help
> + NUMA policy support for Linux.
> + Consists of a 'numactl' program and a 'libnuma' shared library.
> +
> +if NUMACTL
> +
> +config NUMACTL_NUMACTL
> + bool
> + prompt "numactl"
> + help
> + Program to run other programs with a specific NUMA policy.
> +
> +endif
> diff --git a/rules/numactl.make b/rules/numactl.make
> new file mode 100644
> index 000000000000..6db1c2707fe3
> --- /dev/null
> +++ b/rules/numactl.make
> @@ -0,0 +1,59 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2022 by Alexander Dahl <ada@thorsis.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_NUMACTL) += numactl
> +
> +#
> +# Paths and names
> +#
> +NUMACTL_VERSION := 2.0.14
> +NUMACTL_MD5 := f65f3501a82df8c3ee7cc74dc6a55636
> +NUMACTL := numactl-$(NUMACTL_VERSION)
> +NUMACTL_SUFFIX := tar.gz
> +NUMACTL_URL := https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)/$(NUMACTL).$(NUMACTL_SUFFIX)
> +NUMACTL_SOURCE := $(SRCDIR)/$(NUMACTL).$(NUMACTL_SUFFIX)
> +NUMACTL_DIR := $(BUILDDIR)/$(NUMACTL)
> +NUMACTL_LICENSE := LGPL-2.1 AND GPL-2.0
> +NUMACTL_LICENSE_FILES := \
> + file://README.md;startline=25;endline=47;md5=0ca89e009b5e838824a114916c20e382 \
> + file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
> + file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +NUMACTL_CONF_TOOL := autoconf
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/numactl.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, numactl)
> + @$(call install_fixup, numactl,PRIORITY,optional)
> + @$(call install_fixup, numactl,SECTION,base)
> + @$(call install_fixup, numactl,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> + @$(call install_fixup, numactl,DESCRIPTION,missing)
> +
> +ifdef PTXCONF_NUMACTL_NUMACTL
> + @$(call install_copy, numactl, 0, 0, 0755, -, /usr/bin/numactl)
> +endif
> +
> + @$(call install_lib, numactl, 0, 0, 0644, libnuma)
> +
> + @$(call install_finish, numactl)
> +
> + @$(call touch)
> +
> +# vim: ft=make noet tw=72 ts=8 sw=8
next prev parent reply other threads:[~2022-06-10 6:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 12:28 [ptxdist] [PATCH 0/2] rt-tests: version bump Alexander Dahl
2022-06-02 12:28 ` [ptxdist] [PATCH 1/2] numactl: Add new package Alexander Dahl
2022-06-10 6:49 ` Michael Olbrich [this message]
2022-06-02 12:28 ` [ptxdist] [PATCH 2/2] rt-tests: version bump 1.0 -> 2.3 Alexander Dahl
2022-06-10 6:49 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220610064926.2825280-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox