Ignore:
Timestamp:
2012-07-14T04:01:39+02:00 (2 years ago)
Author:
moo
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.