frerich / clcache

A compiler cache for MSVC, much like ccache for gcc
Other
324 stars 83 forks source link

Feature request: monkeypatch distutils to use clcache #284

Closed ghost closed 7 years ago

ghost commented 7 years ago

clcache should provide a module that when imported, monkeypatches distutils c compiler to use clcache.

frerich commented 7 years ago

I'm not familiar with distutils really, let alone how it uses the C compiler. Can you elaborate on what the issue is and how monkeypatching would help?

ghost commented 7 years ago

See https://stackoverflow.com/questions/11013851/speeding-up-build-process-with-distutils second answer. The problem is that the answer has suffered bit rot because it wasn't tested.

ghost commented 7 years ago

To clarify further, this should be done with a .pth file. That loads clcache during startup.