mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6058fd3589
commit
54ac8b11a1
@ -311,9 +311,14 @@ dnl Location of the purify program
|
|||||||
AC_ARG_WITH(purify,AC_HELP_STRING([--with-purify],[Location of purify program]),AC_SUBST(PURIFY,[$withval]))
|
AC_ARG_WITH(purify,AC_HELP_STRING([--with-purify],[Location of purify program]),AC_SUBST(PURIFY,[$withval]))
|
||||||
|
|
||||||
dnl Location for placing object files and built programs, libraries, etc
|
dnl Location for placing object files and built programs, libraries, etc
|
||||||
if test -d /localhome
|
if test ${USER}
|
||||||
then
|
then
|
||||||
AC_SUBST(OBJROOT,[/localhome/$USER])
|
if test -d /localhome/${USER}
|
||||||
|
then
|
||||||
|
AC_SUBST(OBJROOT,[/localhome/${USER}])
|
||||||
|
else
|
||||||
|
AC_SUBST(OBJROOT,[.])
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
AC_SUBST(OBJROOT,[.])
|
AC_SUBST(OBJROOT,[.])
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user