Changed the default location of OBJ_ROOT to follow these rules:
	1. If USER is defined and localhome/$USER is a directory, set OBJ_ROOT
	   to /localhome/$USER
	2. Otherwise, set OBJ_ROOT to .
This should hopefully fix the nightly tester.

llvm-svn: 7451
2 files changed
tree: 265fc7e97ada1cb0d6528c49d8d3b9db22dce4f3
  1. llvm/