Im using idf 4.1 whereas you guys are probrably on the older stuff which was crap.
Its cmake based now. Python self installers etc.
Anyway I have recompiled arduino as an idf component and got a couple of errors in some libraries but am working through it.
I also converted m5 to an idf lib and most of that compiles to apart from the dependecy on arduino SD lib.