mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] liburing: add new rule
@ 2020-11-05 10:45 Steffen Trumtrar
  2020-11-20  7:56 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Trumtrar @ 2020-11-05 10:45 UTC (permalink / raw)
  To: ptxdist

Add the liburing package for io_uring instances.

From the README:

    This is the io_uring library, liburing. liburing provides helpers to setup and
    teardown io_uring instances, and also a simplified interface for
    applications that don't need (or want) to deal with the full kernel
    side implementation.

    For more info on io_uring, please see:

    https://kernel.dk/io_uring.pdf

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 rules/liburing.in   |  9 ++++++++
 rules/liburing.make | 53 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/liburing.in
 create mode 100644 rules/liburing.make

diff --git a/rules/liburing.in b/rules/liburing.in
new file mode 100644
index 000000000000..b96282a0d07b
--- /dev/null
+++ b/rules/liburing.in
@@ -0,0 +1,9 @@
+## SECTION=system_libraries
+
+config LIBURING
+	tristate
+	prompt "liburing"
+	help
+	  liburing provides helpers to setup and teardown io_uring instances,
+	  and also a simplified interface for applications that don't need (or want)
+	  to deal with the full kernel side implementation.
diff --git a/rules/liburing.make b/rules/liburing.make
new file mode 100644
index 000000000000..5bb367f749ab
--- /dev/null
+++ b/rules/liburing.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Steffen Trumtrar <s.trumtrar@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBURING) += liburing
+
+#
+# Paths and names
+#
+LIBURING_VERSION	:= 0.7
+LIBURING_MD5		:= 5a045dbf48a7a3fac228d92a9a049424
+LIBURING		:= liburing-$(LIBURING_VERSION)
+LIBURING_SUFFIX		:= tar.gz
+LIBURING_URL		:= https://github.com/axboe/liburing/archive/$(LIBURING).$(LIBURING_SUFFIX)
+LIBURING_SOURCE		:= $(SRCDIR)/$(LIBURING).$(LIBURING_SUFFIX)
+LIBURING_DIR		:= $(BUILDDIR)/$(LIBURING)
+LIBURING_LICENSE	:= MIT
+LIBURIGN_LICENSE_FILES	:= file://LICENSE;md5=f7c2200d2f904868b214103d0cbab6a9
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBURING_CONF_TOOL	:= NO
+LIBURING_MAKE_ENV	:= $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/liburing.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, liburing)
+	@$(call install_fixup, liburing,PRIORITY,optional)
+	@$(call install_fixup, liburing,SECTION,base)
+	@$(call install_fixup, liburing,AUTHOR,"Steffen Trumtrar <s.trumtrar@pengutronix.de>")
+	@$(call install_fixup, liburing,DESCRIPTION,missing)
+
+	@$(call install_lib, liburing, 0, 0, 0644, liburing)
+
+	@$(call install_finish, liburing)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] liburing: add new rule
  2020-11-05 10:45 [ptxdist] [PATCH] liburing: add new rule Steffen Trumtrar
@ 2020-11-20  7:56 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-11-20  7:56 UTC (permalink / raw)
  To: ptxdist; +Cc: Steffen Trumtrar

Thanks, applied as ea3e4e5d5bfb71ae4513054ec1327a3f9184984e.

Michael

[sent from post-receive hook]

On Fri, 20 Nov 2020 08:56:07 +0100, Steffen Trumtrar <s.trumtrar@pengutronix.de> wrote:
> Add the liburing package for io_uring instances.
> 
> >From the README:
> 
>     This is the io_uring library, liburing. liburing provides helpers to setup and
>     teardown io_uring instances, and also a simplified interface for
>     applications that don't need (or want) to deal with the full kernel
>     side implementation.
> 
>     For more info on io_uring, please see:
> 
>     https://kernel.dk/io_uring.pdf
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> Message-Id: <20201105104527.15630-1-s.trumtrar@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/liburing.in b/rules/liburing.in
> new file mode 100644
> index 000000000000..b96282a0d07b
> --- /dev/null
> +++ b/rules/liburing.in
> @@ -0,0 +1,9 @@
> +## SECTION=system_libraries
> +
> +config LIBURING
> +	tristate
> +	prompt "liburing"
> +	help
> +	  liburing provides helpers to setup and teardown io_uring instances,
> +	  and also a simplified interface for applications that don't need (or want)
> +	  to deal with the full kernel side implementation.
> diff --git a/rules/liburing.make b/rules/liburing.make
> new file mode 100644
> index 000000000000..5bb367f749ab
> --- /dev/null
> +++ b/rules/liburing.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Steffen Trumtrar <s.trumtrar@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LIBURING) += liburing
> +
> +#
> +# Paths and names
> +#
> +LIBURING_VERSION	:= 0.7
> +LIBURING_MD5		:= 5a045dbf48a7a3fac228d92a9a049424
> +LIBURING		:= liburing-$(LIBURING_VERSION)
> +LIBURING_SUFFIX		:= tar.gz
> +LIBURING_URL		:= https://github.com/axboe/liburing/archive/$(LIBURING).$(LIBURING_SUFFIX)
> +LIBURING_SOURCE		:= $(SRCDIR)/$(LIBURING).$(LIBURING_SUFFIX)
> +LIBURING_DIR		:= $(BUILDDIR)/$(LIBURING)
> +LIBURING_LICENSE	:= MIT
> +LIBURIGN_LICENSE_FILES	:= file://LICENSE;md5=f7c2200d2f904868b214103d0cbab6a9
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +LIBURING_CONF_TOOL	:= NO
> +LIBURING_MAKE_ENV	:= $(CROSS_ENV)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/liburing.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, liburing)
> +	@$(call install_fixup, liburing,PRIORITY,optional)
> +	@$(call install_fixup, liburing,SECTION,base)
> +	@$(call install_fixup, liburing,AUTHOR,"Steffen Trumtrar <s.trumtrar@pengutronix.de>")
> +	@$(call install_fixup, liburing,DESCRIPTION,missing)
> +
> +	@$(call install_lib, liburing, 0, 0, 0644, liburing)
> +
> +	@$(call install_finish, liburing)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-20  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:45 [ptxdist] [PATCH] liburing: add new rule Steffen Trumtrar
2020-11-20  7:56 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox