Let me reiterate what Dave said: the committer community saw real value in moving to cmake. Those extra build minutes are subtracted from the lives of those who build vpp on a daily basis.
Florin > On Dec 19, 2018, at 8:46 AM, Andrew Pinski <pins...@gmail.com> wrote: > > On Wed, Dec 19, 2018 at 11:29 AM Dave Barach (dbarach) > <dbar...@cisco.com <mailto:dbar...@cisco.com>> wrote: >> >> Please give the instructions at >> https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling >> >> <https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling> >> a try and let us know what happens. > > Wow. So much harder to do than what autoconf provides. I think going > to cmake is a mistake and that it needs to be reverted. Again the > only reason why VPP moved was for faster compiling by what a few > minutes but provide a messy interface to use instead. I guess VPP > does not care about easy of compiling but would rather have faster > compiling. > > Thanks, > Andrew Pinski > >> >> Suffice it to say that the vpp committer community saw sufficient value in >> switching to cmake to do so. >> >> D. >> >> -----Original Message----- >> From: vpp-dev@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 <nitin.sax...@cavium.com>; 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 >> <dmarion=me....@lists.fd.io> wrote: >>> >>> i >>> >>> On 19 Dec 2018, at 14:00, Saxena, Nitin <nitin.sax...@cavium.com> 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 used it... >> >> I am still disappointed moving away from autotools. CMake has too much junk >> science of getting it right; autotools just work for all of these special >> cases. >> Yes it is a bit slower to build with autotools but it makes cross compiling >> and debugging what is going wrong with the build easier. >> >>> >>> Also I am not finding capability to link VPP with externally compiled >>> dpdk? Am I correct or missing anything >>> >>> You can just specify -DCMAKE_INSTALL_PREFIX:PATH=..... to the tree where >>> dpdk tree is. >>> That is what we do today with /opt/vpp/external/$(uname -m)/ >> >> Also it makes help messages from configure easier to find the needed options >> including but not limited to the above. Having reading cmake files in the >> past and autoconfig files, the autoconf is easier to understand and >> understand how it works. Also autoconf is standard, while cmake is very >> much unstandardized when it comes to finding headers, etc. You need to pull >> in a library, here have a weird cmake file which might or might not work. >> >> Thanks, >> Andrew Pinski >> >>> >>> -- >>> Damjan >>> >>> -=-=-=-=-=-=-=-=-=-=-=- >>> Links: You receive all messages sent to this group. >>> >>> View/Reply Online (#11694): >>> https://lists.fd.io/g/vpp-dev/message/11694 >>> Mute This Topic: https://lists.fd.io/mt/28800506/912176 >>> Group Owner: vpp-dev+ow...@lists.fd.io >>> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [pins...@gmail.com] >>> -=-=-=-=-=-=-=-=-=-=-=- > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#11701): https://lists.fd.io/g/vpp-dev/message/11701 > <https://lists.fd.io/g/vpp-dev/message/11701> > Mute This Topic: https://lists.fd.io/mt/28800506/675152 > <https://lists.fd.io/mt/28800506/675152> > Group Owner: vpp-dev+ow...@lists.fd.io <mailto:vpp-dev+ow...@lists.fd.io> > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub > <https://lists.fd.io/g/vpp-dev/unsub> [fcoras.li...@gmail.com > <mailto:fcoras.li...@gmail.com>] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11702): https://lists.fd.io/g/vpp-dev/message/11702 Mute This Topic: https://lists.fd.io/mt/28800506/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-