startup --output_user_root="%%BAZEL_DIR%%/.cache/" # make bazel only fetch distfiles from the cache fetch --repository_cache="%%BAZEL_DIR%%/bazel-cache/" --distdir="%%BAZEL_DIST%%/bazel-dist/" build --repository_cache="%%BAZEL_DIR%%/bazel-cache/" --distdir="%%BAZEL_DIST%%/bazel-dist/" build --define=PREFIX=%%LOCALBASE%% build --define=LIBDIR=%%LOCALBASE%%/lib build --define=INCLUDEDIR=%%LOCALBASE%%/include build --define=PROTOBUF_INCLUDE_PATH=%%LOCALBASE%%/include build --extra_toolchains=//freebsd:cc-toolchain-freebsd # for python build --action_env=PATH=%%PATH%% build --host_action_env=PATH=%%PATH%% build --config=freebsd