You mean when using the cpp extensions?
If so, the build process is cached and only the first one should compile. All the other ones will detect that nothing changes and just use it. You can find these cached modules in /tmp on unix machines.