> On 19 Dec 2018, at 16:40, Andrew Pinski <pins...@gmail.com> wrote: > > 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.
Maybe you are just not properly educated on CMake... Whatever I wanted to do with CMake i managed to do very quickly. extremely quickly. I'm pretty sure cross-compiling can be also fixed very quickly, i just didn't bother.... > >> >> 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. That's just your subjective view, you seem to be very passionate about autotools. > Also autoconf is standard, Which standards body standardised it? > while cmake is very much unstandardized when it comes to finding > headers, etc. I can see cmake is very good in finding headers... It always finds them when they are available at the right place... > You need to pull in a library, not really > here have a weird cmake > file which might or might not work. weirder than autotools m4 scripts? Just to be clear, cmake is far from being perfect and i'm not in romance with it, but I heard so many good feedbacks after move to cmake, it was relief for majority of people so looks like you folks from Cavium are only ones having problem with it...
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11703): https://lists.fd.io/g/vpp-dev/message/11703 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] -=-=-=-=-=-=-=-=-=-=-=-