thinlto_codegen_set_final_cache_size_relative_to_available_space

Sets the maximum cache size that can be persistent across build, in terms of percentage of the available space on the the disk. Set to 100 to indicate no limit, 50 to indicate that the cache size will not be left over half the available space. A value over 100 will be reduced to 100, a value of 0 will be ignored. An unspecified default value will be applied.

The formula looks like: AvailableSpace = FreeSpace + ExistingCacheSize NewCacheSize = AvailableSpace * P/100

\since LTO_API_VERSION=18

extern (C) nothrow extern
void
thinlto_codegen_set_final_cache_size_relative_to_available_space

Meta