Marco, it looks like the vpp.mk and vpp_lite.mk make an effort to distinguish between x86_64 and NOT x86_64, but do not go beyond that. I agree it sounds like that could be fleshed out for thunderx, so you can get some optimal values for march, mtune, and whatever.
On Wed, Jan 4, 2017 at 11:46 AM, Christophe FONTAINE < christophe.fonta...@qosmos.com> wrote: > Hi Marco, > > I'm a bit surprised you had a lot of issues compiling directly on the > board: I don't have a ThunderX board to test, but I just built vpp on a > nxp1043, which is an armv8 platform. > And just like you, no cross compilation. > So, I have 2 suggestions: > - try build first with PLATFORM=vpp_lite : with this, we can first check > if everything but dpdk is building correctly. > FYI, I did not try to build the packages as I'm on a stripped Ubuntu > rootfs on this platform > - Them switch to VPP, but using an already installed DPDK: within vpp.mk, > you have the possibility to override the default values (ie external dpdk) > > Christophe > > > -----Original Message----- > > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] > On > > Behalf Of Marco Varlese > > Sent: mercredi 4 janvier 2017 17:36 > > To: Rami Rosen <roszenr...@gmail.com>; Burt Silverman > > <bur...@gmail.com> > > Cc: vpp-dev <vpp-dev@lists.fd.io> > > Subject: Re: [vpp-dev] Build VPP for thunderx platform > > > > Mine was a typo mistake > > My command has PLATFORM=thunder > > > > As mentioned previously, I'm on the actual platform so no need to use > cross - > > compiler... > > > > > > On Wed, 2017-01-04 at 17:15 +0200, Rami Rosen wrote: > > > Hi Marco, > > > Indeed it should be PLATFORM=thunder, according to my understanding. > > > Second, you also need to have the thunderx cross compiler installed on > > > your build machine (aarch64-thunderx-linux-gnu-gcc), so it seems to > > > me. It is a Cavium tool, part of their thunderx-tools, not sure where > > > it can be downloaded from. > > > > > > > > > Regards, > > > Rami Rosen > > > > > > > > > On 4 January 2017 at 16:04, Burt Silverman <bur...@gmail.com> wrote: > > > > Can't say for sure, but perhaps PLATFORM=thunder is the answer. > > > > > > > > On Wed, Jan 4, 2017 at 8:33 AM, Marco Varlese > > > > <marco.varl...@suse.com> > > > > wrote: > > > > > > > > > > Hi, > > > > > > > > > > I'm trying to build VPP for the ThunderX platform. > > > > > I've a platform in the lab so I've no need for cross-compiling, > etc. > > > > > > > > > > However, if I run the default "make bootstrap && make build" the > > > > > vpp.mk file is used and eventually the makefile builds for > > > > > generic-native platform (resulting in a ton of include errors...) > > > > > > > > > > If I instead try to use the command "make PLATFORM=thunderx build" > > > > > then I get the "Unkown platform" error although I can see the file > > > > > thunder.mk in /build -data/platforms > > > > > > > > > > I can't find any documentation/guidelines to build specifially for > > > > > the Thunderx platform so I would be grateful if anybody could > > > > > point me to the right direction/documentation. > > > > > > > > > > > > > > > Thanks, > > > > > Marco > > > > > _______________________________________________ > > > > > vpp-dev mailing list > > > > > vpp-dev@lists.fd.io > > > > > https://lists.fd.io/mailman/listinfo/vpp-dev > > > > > > > > > > > > > > > > _______________________________________________ > > > > vpp-dev mailing list > > > > vpp-dev@lists.fd.io > > > > https://lists.fd.io/mailman/listinfo/vpp-dev > > > > > _______________________________________________ > > vpp-dev mailing list > > vpp-dev@lists.fd.io > > https://lists.fd.io/mailman/listinfo/vpp-dev > This message, including attachments, is CONFIDENTIAL. It may also be > privileged or otherwise protected by law. If you received this email by > mistake, please let us know by reply and then delete it from your system; > you should not copy it or disclose its contents to anyone. All messages > sent to and from Enea may be monitored to ensure compliance with internal > policies and to protect our business. Emails are not secure and cannot be > guaranteed to be error free as they can be intercepted, amended, lost or > destroyed, or contain viruses. The sender therefore does not accept > liability for any errors or omissions in the contents of this message, > which arise as a result of email transmission. Anyone who communicates with > us by email accepts these risks. >
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev