Skip to content

Commit

Permalink
Use a /var/tmp path for Bazel output tree on OSX
Browse files Browse the repository at this point in the history
The current value:
1) Isn't created by anything, and
2) Generates too long a path for the name of a Unix domain socket

--
MOS_MIGRATED_REVID=89152182
  • Loading branch information
illicitonion authored and damienmg committed Mar 23, 2015
1 parent fefd528 commit 54b21d4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/cpp/blaze_util_darwin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ namespace blaze {
using std::string;

string GetOutputRoot() {
const char *home = getenv("HOME");
if (home == NULL) {
return "/var/tmp";
}
return blaze_util::JoinPath(home, "Library/Caches/Bazel");
return "/var/tmp";
}

void WarnFilesystemType(const string& output_base) {
Expand Down

0 comments on commit 54b21d4

Please sign in to comment.