* [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing
@ 2023-01-16 14:28 Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 1/2] README: Explain " Ammar Faizi
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Ammar Faizi @ 2023-01-16 14:28 UTC (permalink / raw)
To: Jens Axboe
Cc: Ammar Faizi, Pavel Begunkov, Christian Mazakas, Gilang Fachrezy,
io-uring Mailing List, VNLX Kernel Department,
GNU/Weeb Mailing List
From: Ammar Faizi <[email protected]>
v
v
Signed-off-by: Ammar Faizi <[email protected]>
---
Ammar Faizi (2):
README: Explain how to build liburing
README: Explain about FFI support
README | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
base-commit: 19424b0baa5999918701e1972b901b0937331581
--
Ammar Faizi
^ permalink raw reply [flat|nested] 5+ messages in thread
* [RFC PATCH liburing v2 1/2] README: Explain how to build liburing
2023-01-16 14:28 [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
@ 2023-01-16 14:28 ` Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 2/2] README: Explain about FFI support Ammar Faizi
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Ammar Faizi @ 2023-01-16 14:28 UTC (permalink / raw)
To: Jens Axboe
Cc: Ammar Faizi, Pavel Begunkov, Christian Mazakas, Gilang Fachrezy,
io-uring Mailing List, VNLX Kernel Department,
GNU/Weeb Mailing List
From: Ammar Faizi <[email protected]>
Tell people how to build liburing.
Signed-off-by: Ammar Faizi <[email protected]>
---
README | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/README b/README
index 80d2b3dc5d5eaf76..4dd59f67fcbfbc5e 100644
--- a/README
+++ b/README
@@ -47,6 +47,30 @@ the kernel io_uring support. Please note that this suite isn't expected to
pass on older kernels, and may even crash or hang older kernels!
+Building liburing
+-----------------
+
+ #
+ # Prepare build config (optional).
+ #
+ # --cc specifies the C compiler.
+ # --cxx speficies the C++ compiler.
+ #
+ ./configure --cc=gcc --cxx=g++;
+
+ #
+ # Build liburing.
+ #
+ make -j$(nproc);
+
+ #
+ # Install liburing (headers, shared/static libs, and manpage).
+ #
+ sudo make install;
+
+See './configure --help' for more information about build config options.
+
+
License
-------
--
Ammar Faizi
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [RFC PATCH liburing v2 2/2] README: Explain about FFI support
2023-01-16 14:28 [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 1/2] README: Explain " Ammar Faizi
@ 2023-01-16 14:28 ` Ammar Faizi
2023-01-16 14:37 ` [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
2023-01-16 15:46 ` Jens Axboe
3 siblings, 0 replies; 5+ messages in thread
From: Ammar Faizi @ 2023-01-16 14:28 UTC (permalink / raw)
To: Jens Axboe
Cc: Ammar Faizi, Pavel Begunkov, Christian Mazakas, Gilang Fachrezy,
io-uring Mailing List, VNLX Kernel Department,
GNU/Weeb Mailing List
From: Ammar Faizi <[email protected]>
Languages and applications that can't use 'static inline' functions in
liburing.h should use the FFI variants.
Co-authored-by: Christian Mazakas <[email protected]>
Signed-off-by: Christian Mazakas <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---
README | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/README b/README
index 4dd59f67fcbfbc5e..9c881ae75787795c 100644
--- a/README
+++ b/README
@@ -71,6 +71,30 @@ Building liburing
See './configure --help' for more information about build config options.
+FFI support
+-----------
+
+By default, the build results in 4 lib files:
+
+ 2 shared libs:
+
+ liburing.so
+ liburing-ffi.so
+
+ 2 static libs:
+
+ liburing.a
+ liburing-ffi.a
+
+Languages and applications that can't use 'static inline' functions in
+liburing.h should use the FFI variants.
+
+liburing's main public interface lives in liburing.h as 'static inline'
+functions. Users wishing to consume liburing purely as a binary dependency
+should link against liburing-ffi. It contains definitions for every 'static
+inline' function.
+
+
License
-------
--
Ammar Faizi
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing
2023-01-16 14:28 [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 1/2] README: Explain " Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 2/2] README: Explain about FFI support Ammar Faizi
@ 2023-01-16 14:37 ` Ammar Faizi
2023-01-16 15:46 ` Jens Axboe
3 siblings, 0 replies; 5+ messages in thread
From: Ammar Faizi @ 2023-01-16 14:37 UTC (permalink / raw)
To: Jens Axboe
Cc: Pavel Begunkov, Christian Mazakas, Gilang Fachrezy,
io-uring Mailing List, VNLX Kernel Department,
GNU/Weeb Mailing List
On 1/16/23 9:28 PM, Ammar Faizi wrote:
> From: Ammar Faizi <[email protected]>
>
> v
> v
Sorry, wrong cover letter, missed it when sending. But the patchset
diff and changelog are all good.
--
Ammar Faizi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing
2023-01-16 14:28 [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
` (2 preceding siblings ...)
2023-01-16 14:37 ` [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
@ 2023-01-16 15:46 ` Jens Axboe
3 siblings, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2023-01-16 15:46 UTC (permalink / raw)
To: Ammar Faizi
Cc: Pavel Begunkov, Christian Mazakas, Gilang Fachrezy,
io-uring Mailing List, VNLX Kernel Department,
GNU/Weeb Mailing List
On Mon, 16 Jan 2023 21:28:20 +0700, Ammar Faizi wrote:
> v
> v
>
>
Applied, thanks!
[1/2] README: Explain how to build liburing
commit: 888e608937c2a052e01bc3730dc4ae9bcff4b3e2
[2/2] README: Explain about FFI support
commit: 808b972006716090c18ee1305a23f2148ed97434
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-01-16 15:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-16 14:28 [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 1/2] README: Explain " Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 2/2] README: Explain about FFI support Ammar Faizi
2023-01-16 14:37 ` [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
2023-01-16 15:46 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox