Environment Variables

Summary

Env Var Purpose
FASTBUILD_TEMP_PATH Override system temp path for FASTBuild to use.
FASTBUILD_BROKERAGE_PATH Set location of the Brokerage Path for distributed compilation.
FASTBUILD_CACHE_PATH Set the location of the cache.
FASTBUILD_CACHE_PATH_MOUNT_POINT Set the path to be verified as a mount point. (OSX & Linux)
FASTBUILD_CACHE_MODE Set the cache mode.

Details

FASTBUILD_TEMP_PATH

FASTBuild uses the system temp dir. This can be overridden by setting the FASTBUILD_TEMP_PATH. This can be useful in certain cases, such as when certain Anti-Virus software is used that prevents executables being spawned from the temp directory.

FASTBUILD_BROKERAGE_PATH

FBuildWorkers signal their availability by writing a token to the "Brokerage Path". The location of the brokerage path can be set via the FASTBUILD_BROKERAGE_PATH.

FASTBUILD_CACHE_PATH
The location of the FASTBuild cache can be set via the FASTBUILD_CACHE_PATH environment variable instead of via the .CachePath option in the Settings function.

FASTBUILD_CACHE_PATH_MOUNT_POINT
The location of the FASTBuild cache mount point for OSX and Linux can be set via the FASTBUILD_CACHE_PATH_MOUNT_POINT environment variable instead of via the .CachePathMountPoint option in the Settings function.

FASTBUILD_CACHE_MODE
The cache mode can be set via the FASTBUILD_CACHE_MODE environment variable, instead of via the command line -cache options.