Re: [vpp-dev] regarding cross compiling

2018-12-21 Thread Damjan Marion via Lists.Fd.Io
> On 21 Dec 2018, at 11:21, saint_...@aliyun.com > wrote: > > Hi, > I modified several positions, then the make can be done successfully with > some minor problems, the details list below: Please submit to gerrit for review... -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] regarding cross compiling

2018-12-21 Thread saint_sun 孙 via Lists . Fd . Io
the same as vpp 18.07, how can I use it with vpp? Should I download it in the vpp directoty or other directory? Can I modify some positons or files to download and compile it automatically with vpp? If it can, please give me some examples, thanks!! saint_...@aliyun.com From: saint_...@ali

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread saint_sun 孙 via Lists . Fd . Io
Thanks to all who have helped, I am trying, will resend the result later. saint_...@aliyun.com From: Dave Barach via Lists.Fd.Io Date: 2018-12-20 00:29 To: Andrew Pinski; dmar...@me.com CC: vpp-dev Subject: Re: [vpp-dev] regarding cross compiling Please give the instructions at https

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
Thank you Paul, very well written, and please be assured that we are not looking into this as a cisco project and we are happy to se non-cisco people joining and contributing. Point here is that cmake story was discussed in the community, people had enough time to comment, and all comments were

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Paul Vinciguerra
Hi Andrew. As a non-cisco observer to group, I respectfully disagree. I'm sure the old code is still available in the repo for your use, should you wish to use it. You however took the position that the community here needs to take their resources and use them to maintain a solution that you fav

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
> On 19 Dec 2018, at 18:38, Damjan Marion via Lists.Fd.Io > wrote: > > > -- > Damjan > >> On 19 Dec 2018, at 18:12, Andrew Pinski > > wrote: >> >> On Wed, Dec 19, 2018 at 12:05 PM Andrew Pinski via Lists.Fd.Io >> mailto:pinskia=gmail@lists.fd.io>> wrote: >>> >

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
-- Damjan > On 19 Dec 2018, at 18:12, Andrew Pinski wrote: > > On Wed, Dec 19, 2018 at 12:05 PM Andrew Pinski via Lists.Fd.Io > wrote: >> >> On Wed, Dec 19, 2018 at 12:00 PM Damjan Marion wrote: >>> >>> >>> On 19 Dec 2018, at 17:46, Andrew Pinski wrote: On Wed, Dec 19, 2

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
-- Damjan > On 19 Dec 2018, at 18:05, Andrew Pinski wrote: > > On Wed, Dec 19, 2018 at 12:00 PM Damjan Marion wrote: >> >> >> >>> On 19 Dec 2018, at 17:46, Andrew Pinski wrote: >>> >>> On Wed, Dec 19, 2018 at 11:29 AM Dave Barach (dbarach) >>> wrote: Please give the instructi

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Andrew Pinski
On Wed, Dec 19, 2018 at 12:05 PM Andrew Pinski via Lists.Fd.Io wrote: > > On Wed, Dec 19, 2018 at 12:00 PM Damjan Marion wrote: > > > > > > > > > On 19 Dec 2018, at 17:46, Andrew Pinski wrote: > > > > > > On Wed, Dec 19, 2018 at 11:29 AM Dave Barach (dbarach) > > > wrote: > > >> > > >> Please g

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Andrew Pinski
On Wed, Dec 19, 2018 at 12:00 PM Damjan Marion wrote: > > > > > On 19 Dec 2018, at 17:46, Andrew Pinski wrote: > > > > On Wed, Dec 19, 2018 at 11:29 AM Dave Barach (dbarach) > > wrote: > >> > >> Please give the instructions at > >> https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.h

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
> On 19 Dec 2018, at 17:46, Andrew Pinski wrote: > > On Wed, Dec 19, 2018 at 11:29 AM Dave Barach (dbarach) > wrote: >> >> Please give the instructions at >> https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling >> a try and let us know what happens. > > Wow.

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
> On 19 Dec 2018, at 16:40, Andrew Pinski wrote: > > On Wed, Dec 19, 2018 at 8:54 AM Damjan Marion via Lists.Fd.Io > wrote: >> >> i >> >> On 19 Dec 2018, at 14:00, Saxena, Nitin wrote: >> >> Hi Damjan, >> Somebody needs to spend a bit of time to teach CMake how to properly cross

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Florin Coras
;> switching to cmake to do so. >> >> D. >> >> -Original Message- >> From: vpp-dev@lists.fd.io On Behalf Of Andrew Pinski >> Sent: Wednesday, December 19, 2018 10:40 AM >> To: dmar...@me.com >> Cc: Saxena, Nitin ; vpp-dev@lists.fd.io >

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Andrew Pinski
ar...@me.com > Cc: Saxena, Nitin ; vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] regarding cross compiling > > On Wed, Dec 19, 2018 at 8:54 AM Damjan Marion via Lists.Fd.Io > wrote: > > > > i > > > > On 19 Dec 2018, at 14:00, Saxena, Nitin wrote: > &g

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Dave Barach via Lists.Fd.Io
: vpp-dev@lists.fd.io On Behalf Of Andrew Pinski Sent: Wednesday, December 19, 2018 10:40 AM To: dmar...@me.com Cc: Saxena, Nitin ; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] regarding cross compiling On Wed, Dec 19, 2018 at 8:54 AM Damjan Marion via Lists.Fd.Io wrote: > > i > > On

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Burt Silverman
According to this, https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling , you just need to set a few more variables for cross compilation. In the old days, that could be done in the ebuild *.mk files under build-data and build-root. However, I believe ebuild was optim

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Andrew Pinski
On Wed, Dec 19, 2018 at 8:54 AM Damjan Marion via Lists.Fd.Io wrote: > > i > > On 19 Dec 2018, at 14:00, Saxena, Nitin wrote: > > Hi Damjan, > > >>Somebody needs to spend a bit of time to teach CMake how to properly > >>cross-compile > > Correct me if I am wrong but I think cross-compilation

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
i > On 19 Dec 2018, at 14:00, Saxena, Nitin wrote: > > Hi Damjan, > > >>Somebody needs to spend a bit of time to teach CMake how to properly > >>cross-compile > > Correct me if I am wrong but I think cross-compilation support was there > before CMake transition. > I guess so, never use

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Nitin Saxena
Hi Damjan, >>Somebody needs to spend a bit of time to teach CMake how to properly >>cross-compile Correct me if I am wrong but I think cross-compilation support was there before CMake transition. Also I am not finding capability to link VPP with externally compiled dpdk? Am I correct or mi

Re: [vpp-dev] regarding cross compiling

2018-12-19 Thread Damjan Marion via Lists.Fd.Io
Somebody needs to spend a bit of time to teach CMake how to properly cross-compile -- Damjan > On 19 Dec 2018, at 11:19, saint_sun 孙 via Lists.Fd.Io > wrote: > > Hi all, > I was confused with cross compiling, when I built vpp with the new > version(18.10) using arm build tools. >

[vpp-dev] regarding cross compiling

2018-12-19 Thread saint_sun 孙 via Lists . Fd . Io
Hi all, I was confused with cross compiling, when I built vpp with the new version(18.10) using arm build tools. The compiling environment is listed below: - vpp 18.10 host : ubuntu 16.04 , x86-64 cpu target :