What role does the GPU play in UE4 when compiling?

GPU does nothing for compiling. It’s only for realtime graphics calculations. I don’t know how those specific processors compare, but at point Intel is doing much better CPU’s so I’d have to go with the i3, though that’s still on the low-end.