Compiling takes really long time

I only put the system on the SSD, all programs are installed on regular hard drives

besides my hard drive is running and de fragmented when I compile it, I have checked

there is no reason why the compiler would be so slow…and I am a linux raspberry pi user, I know slow and huge c/c++ repository compilation