ccache_add()

def ccache_add(name, version)

Add ccache to the workspace.

This will also set CCACHE_DIR to the spaces store. It will set CCACHE_BASEDIR to the workspace.

Example:

load("//@star/packages/star/ccache.star", "ccache_add")

ccache_add("ccache4", "v4.10.2")

Args

  • name - str The name of the rule.
  • version - str The version of ccache to add.