scope of configure.optflags, configure.compiler etc. command line variables

René J.V. Bertin rjvbertin at gmail.com
Sat Sep 21 07:36:05 UTC 2019


On Friday September 20 2019 18:27:49 Ryan Schmidt wrote:

>It would seem that making `port clean` delete the ccache caches would defeat all current use cases of it.

Not necessarily. AFAIK build commands under MacPorts almost always use full paths to source files because of the way configure and cmake are called, and I'm not convinced that ccache has any use if you just build ports during upgrades (i.e. when paths have changed). Ccache is clever, but not that clever.
But this is why I added the suggestion to make ccache cleaning part of clean --all or even of a new clean option.

It would be good anyway to have a way to liberate that cache, which is not the case currently (AFAIK).

R.


More information about the macports-dev mailing list