RosBE/RosBE-Unix/Base-i386/scripts/build-multi.sh
Pierre Schweitzer 2fe1320295 [ROSBE-UNIX]
Implement support for pre-build & post-build hook scripts in RosBE-Unix.
Also provide an example script to helps workarounding a current problem in our build process

svn path=/trunk/RosBE/; revision=1363
2012-01-28 17:40:19 +00:00

15 lines
413 B
Bash
Executable File

#!/bin/bash
#
# Detects the CPU cores in your system and builds ReactOS with this number of threads
# Part of RosBE for Unix-based Operating Systems
# Copyright 2007-2011 Colin Finck <colin@reactos.org>
#
# Released under GNU GPL v2 or any later version.
source "$_ROSBE_ROSSCRIPTDIR/rosbelibrary.sh"
CPUCOUNT=`cpucount -x1`
execute_hooks pre-build $*
buildtime make -j $CPUCOUNT $*
execute_hooks post-build $*