Changeset 970


Ignore:
Timestamp:
2012-07-14T04:01:39+02:00 (22 months ago)
Author:
moo
Message:

fix corrupt parallel build by using different tmp directory

Location:
autobuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • autobuild/.config

    r947 r970  
    2525outputDir="$HOME/pub" 
    2626setExtOutputDir "$outputDir/???" 
     27TMP=/c/tmp 
  • 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.