From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id F201834ADEA; Tue, 3 Nov 2015 07:35:51 +0000 (UTC) Received: from dhcp195.koti.laiskiainen.org (vpn1-5-179.ams2.redhat.com [10.36.5.179]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tA37ZoYQ018372; Tue, 3 Nov 2015 02:35:50 -0500 To: Bruce Richardson , mario.alfredo.c.arevalo@intel.com, dev@dpdk.org References: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> <1445955906-8505-1-git-send-email-bruce.richardson@intel.com> From: Panu Matilainen Message-ID: <563863D5.8010708@redhat.com> Date: Tue, 3 Nov 2015 09:35:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1445955906-8505-1-git-send-email-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Subject: Re: [dpdk-dev] compile and install using configure-make-make_install X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 07:35:53 -0000 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 -