mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 19:39:51 +00:00
2fe1320295
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
15 lines
413 B
Bash
Executable File
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 $*
|