Ignore:
Timestamp:
2012-07-14T02:01:39Z (3 years ago)
Author:
Xuefer
Message:

fix corrupt parallel build by using different tmp directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • autobuild/scripts/generateMakefile

    r912 r970  
    111111            "mv -f $buildDirVersioned/php/Makefile.tmp $buildDirVersioned/php/Makefile"
    112112
     113        xcachetmp=$TMP/$name
    113114        local extDll="$buildDirVersioned/php/Release${_TS}/php_${ext}.dll"
    114115        rule "$extDll" "$buildDirVersioned/php/Makefile" \
    115             "cd $buildDirVersioned/php && MAKEFLAGS= ${compiler}${arch}env.cmd nmake.exe /nologo php_${ext}.dll" \
     116            "mkdir -p $xcachetmp" \
     117            "cd $buildDirVersioned/php && MAKEFLAGS= TMP=$xcachetmp TEMP=$xcachetmp ${compiler}${arch}env.cmd nmake.exe /nologo php_${ext}.dll" \
     118            "rmdir $xcachetmp"
    116119
    117120        addAllRule "$extDll"
Note: See TracChangeset for help on using the changeset viewer.