Author: dreimer
Date: Mon Aug 23 15:57:46 2010
New Revision: 48610
URL:
http://svn.reactos.org/svn/reactos?rev=48610&view=rev
Log:
Increase the CCache size by default and make it user customizeable.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1
trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] Mon Aug 23 15:57:46
2010
@@ -20,6 +20,12 @@
}
if ($_ROSBE_USECCACHE -eq 1) {
+ if ("$_ROSBE_CACHESIZE" -ne "") {
+ $_ROSBE_CACHESIZEG = "$_ROSBE_CACHESIZE" + "G"
+ &{IEX "&'ccache.exe' -M $_ROSBE_CACHESIZEG"}
+ } else {
+ &{IEX "&'ccache.exe' -M 8G"}
+ }
$_ROSBE_CCACHE = "ccache "
} else {
$_ROSBE_CCACHE = $null
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] Mon Aug 23 15:57:46
2010
@@ -83,6 +83,8 @@
$ENV:CCACHE_DIR = "$_ROSBE_CCACHE_DIR"
}
+$global:_ROSBE_CACHESIZE = "4"
+
$ENV:C_INCLUDE_PATH = $null
$ENV:CPLUS_INCLUDE_PATH = $null
$ENV:LIBRARY_PATH = $null
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Bui…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] Mon Aug 23 15:57:46
2010
@@ -29,6 +29,11 @@
)
if "%_ROSBE_USECCACHE%" == "1" (
+ if not "%_ROSBE_CACHESIZE%" == "" (
+ ccache -M %_ROSBE_CACHESIZE%G
+ ) else (
+ ccache -M 8G
+ )
set _ROSBE_CCACHE=ccache
) else (
set _ROSBE_CCACHE=
Modified: trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd [iso-8859-1] Mon Aug 23 15:57:46 2010
@@ -60,6 +60,8 @@
) else (
set CCACHE_DIR=%_ROSBE_CCACHE_DIR%
)
+
+set _ROSBE_CACHESIZE=4
set C_INCLUDE_PATH=
set CPLUS_INCLUDE_PATH=