- Added a global setting to the variable containing the number of cores. It never reached the place it was needed. No, this does not fix makex on the new gcc...

- Hopefully fixed kdbg on PS.

TBD:
- Port Colin's changes to clean.ps1.
- Find out, why makex fails on both PS and CMD...

svn path=/trunk/tools/RosBE/; revision=1166
This commit is contained in:
Daniel Reimer 2010-01-27 15:36:07 +00:00
parent a8645785d5
commit f9572de78e
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# LICENSE: GNU General Public License v2. (see LICENSE.txt)
# FILE: Root/Clean.ps1
# PURPOSE: Clean the ReactOS source directory.
# COPYRIGHT: Copyright 2009 Daniel Reimer <reimer.daniel@freenet.de>
# COPYRIGHT: Copyright 2010 Daniel Reimer <reimer.daniel@freenet.de>
#
$host.ui.RawUI.WindowTitle = "Cleaning..."

View File

@ -3,8 +3,8 @@
# LICENSE: GNU General Public License v2. (see LICENSE.txt)
# FILE: Root/RosBE.ps1
# PURPOSE: This script provides/sets up various build environments for
# ReactOS. Currently it provides a GCC 4.1.3 build environment.
# COPYRIGHT: Copyright 2009 Daniel Reimer <reimer.daniel@freenet.de>
# ReactOS. Currently it provides a GCC 4.4.3 build environment.
# COPYRIGHT: Copyright 2010 Daniel Reimer <reimer.daniel@freenet.de>
#
$host.ui.RawUI.WindowTitle = "ReactOS Build Environment $_ROSBE_VERSION"
@ -52,7 +52,7 @@ $ENV:BISON_PKGDATADIR = ((New-Object -ComObject Scripting.FileSystemObject).GetF
# Get the number of CPUs in the system so we know how many jobs to execute.
# To modify the number used, see the cpucount usage for getting to know about the possible options
$_ROSBE_MAKEX_JOBS = (gwmi win32_processor).numberofcores + 1
$global:_ROSBE_MAKEX_JOBS = (gwmi win32_processor).numberofcores + 1
$ENV:CCACHE_DIR = "$ENV:APPDATA\RosBE\.ccache"
$ENV:C_INCLUDE_PATH = $null

View File

@ -24,6 +24,6 @@ if ("$($args[0])" -eq "writelog") {
"Now Start your VM with COM1 set to \\.\pipe\kdbg"
read-host 'Press any key to continue . . .'
log2lines -c $LOGFILE < \\.\pipe\kdbg
log2lines -c $LOGFILE -P "piperead -c \\.\pipe\kdbg"
$host.ui.RawUI.WindowTitle = "ReactOS Build Environment $_ROSBE_VERSION"