nelhage / llama

Apache License 2.0
589 stars 24 forks source link

Add LLAMACC_REMOTE_PREPROCESS mode #4

Closed nelhage closed 3 years ago

nelhage commented 3 years ago

This new mode detects dependencies using gcc -MM, and then sends individual source files to the cloud. This is more computationally expensive and requires more I/O on the far side, but results in enormous bandwidth savings between the local client and the cloud.