linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org,
	Aarushi Mehta <mehta.aaru20@gmail.com>,
	Julia Suvorova <jusual@mail.ru>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [PATCH liburing 0/2] pkg-config support
Date: Sat, 25 May 2019 09:58:28 +0100	[thread overview]
Message-ID: <20190525085830.31577-1-stefanha@redhat.com> (raw)

Patch 1 adds pkg-config support so that applications are not required to
hardcode compiler flags that may change depending on the distro.

Patch 2 moves installation paths to ./configure so they are adjustable from the
command-line and do not require modifying the makefile.  This is necessary so
Fedora x86_64 can set libdir to /usr/lib64.

I have tested this by building Aarushi Mehta's QEMU io_uring support
using pkg-config on a Fedora x86_64 host.

Stefan Hajnoczi (2):
  pkgconfig: install a liburing.pc file
  configure: move directory options to ./configure

 configure      | 55 +++++++++++++++++++++++++++++++++++++++++++++++++-
 Makefile       | 17 ++++++++++------
 .gitignore     |  2 ++
 liburing.pc.in | 12 +++++++++++
 4 files changed, 79 insertions(+), 7 deletions(-)
 create mode 100644 liburing.pc.in

-- 
2.21.0


             reply	other threads:[~2019-05-25  9:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-25  8:58 Stefan Hajnoczi [this message]
2019-05-25  8:58 ` [PATCH liburing 1/2] pkgconfig: install a liburing.pc file Stefan Hajnoczi
2019-05-25  8:58 ` [PATCH liburing 2/2] configure: move directory options to ./configure Stefan Hajnoczi
2019-05-25 12:37 ` [PATCH liburing 0/2] pkg-config support Jens Axboe

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=20190525085830.31577-1-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=jusual@mail.ru \
    --cc=linux-block@vger.kernel.org \
    --cc=mehta.aaru20@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).