[OpenWrt-Devel] [PATCH] build: improve ccache support
Roman Yeryomin
roman at advem.lv
Fri Jun 12 15:00:42 EDT 2020
On 2020-06-04 22:29, Michael Jones wrote:
>> I agree with Felix. Having one ccache directory for multiple repos
>> doesn't make much sense to me as most probably they are for different
>> platforms. And even if they are for same platform there are more
>> chances
>> for ccache corruption and deleting it will affect all those repos. So
>> it
>> still can be done with symlink but IMO should be done manually to make
>> sure you know what you are doing.
>> Also BASEDIR should be changed too, probably, if we want to go that
>> way.
>>
>>
> I am already using a shared ccache directory for multiple builds in my
> continuous integration system. I'm accomplishing this by patching the
> build
> system to change the directory for the ccache directory.
>
> If it were a .config option, your use-case would be directly supported,
> as
> well as my use-case, without as much custom patching.
>
> I imagine that there are plenty of other organizations which would use
> the
> .config based functionality to customize things to their liking.
>
> If ccache is corrupted there are much larger problems than slowing down
> other builds.
Please see v2
Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list