Linux kernel takes ~60 seconds on TR hardware according to phoronix, SLoC is what ~15-18 million
(AFAICT there's no easy way to measure the LoC actually compiled - but one rough way to estimate it would be to take all the .o files listed in the build process and count the LoC in the corresponding .c files and the .h files they depend on).
I take it you can't just run it through the preprocessor then count the lines of code that are output from that?
https://www.phoronix.com/scan.php?page=news_item&px=Linux-16...