DPDK patches and discussions
 help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: Bruce Richardson <bruce.richardson@intel.com>,
	mario.alfredo.c.arevalo@intel.com, dev@dpdk.org
Subject: Re: [dpdk-dev] compile and install using configure-make-make_install
Date: Tue, 3 Nov 2015 09:35:49 +0200	[thread overview]
Message-ID: <563863D5.8010708@redhat.com> (raw)
In-Reply-To: <1445955906-8505-1-git-send-email-bruce.richardson@intel.com>

On 10/27/2015 04:25 PM, Bruce Richardson wrote:
> Just clarify a bit further the idea I had in mind, I've put together the following
> two example patches. After applying these patches the following sequence of
> operations works to install dpdk libraries and headers into /opt (/opt/lib/dpdk
> and /opt/include/dpdk respectively). Also the machine type is changed from native
> to default, and the settings for KNI are disabled.
>
> 	./configure --prefix=/opt --machine=default \
> 		--config=RTE_LIBRTE_KNI=n \
> 		--config=CONFIG_RTE_KNI_KMOD=n
> 	cd build
> 	make
> 	sudo make install

I think I like the idea of a configure script that hides (some of) the 
DPDK config peculiarities behind a more familiar looking interface. For 
example it could be used for figuring out the machine-os-compiler 
triplet automatically for the common cases.

However having "make install" behave differently depending on which 
directory its invoked from I dunno. Its unlike anything else out there 
(that I know of) and I thought the idea was to make DPDK behave more 
like a normal OSS citizen :)

	- Panu -

  parent reply	other threads:[~2015-11-03  7:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6594B51DBE477C48AAE23675314E6C460F1B724F@fmsmsx107.amr.corp.intel.com>
2015-10-20  9:17 ` [dpdk-dev] dpdk proposal installation process Bruce Richardson
2015-10-21 19:15   ` Olivier MATZ
2015-10-22  5:55     ` Panu Matilainen
2015-10-22 14:57       ` Bruce Richardson
2015-10-26 16:18         ` Arevalo, Mario Alfredo C
2015-10-27 14:25           ` [dpdk-dev] compile and install using configure-make-make_install Bruce Richardson
2015-10-27 14:25             ` [dpdk-dev] [RFC-PATCH 1/2] gen-build-mk: add "make install" option to build dir Bruce Richardson
2015-10-27 14:25             ` [dpdk-dev] [RFC-PATCH 2/2] add example configure script Bruce Richardson
2015-11-03  7:35             ` Panu Matilainen [this message]
2015-11-03 10:16               ` [dpdk-dev] compile and install using configure-make-make_install Bruce Richardson
2015-11-27 11:50           ` [dpdk-dev] dpdk proposal installation process Thomas Monjalon
2015-11-27 13:16         ` Marc

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=563863D5.8010708@redhat.com \
    --to=pmatilai@redhat.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=mario.alfredo.c.arevalo@intel.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).