ccache_add()

def ccache_add(name, version, visibility)

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: string: The name of the rule.
  • version: string: The version of ccache to add.
  • visibility: Rule visibility. See visibility.star for more info.