From mboxrd@z Thu Jan 1 00:00:00 1970 From: Panu Matilainen Subject: Re: compile and install using configure-make-make_install Date: Tue, 3 Nov 2015 09:35:49 +0200 Message-ID: <563863D5.8010708@redhat.com> References: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> <1445955906-8505-1-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Bruce Richardson , mario.alfredo.c.arevalo@intel.com, dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 63CE28E56 for ; Tue, 3 Nov 2015 08:35:53 +0100 (CET) In-Reply-To: <1445955906-8505-1-git-send-email-bruce.richardson@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 -