function pre build in split format
| = NAME =
pre_build
|
| = SYNOPSIS =
pre_build [nostrip]
|
| = DESCRIPTION =
Wait for other builds of the same test running in parallel,
|
Process the Rebuild flag, and unpack test sources if necessary.
| Process the ''Rebuild'' flag, and unpack test sources if necessary.
|
Build scripts must call this function in the beginning.
| Build scripts must call this function in the beginning.
|
| = EXAMPLES =
|
| = ENVIRONMENT and ARGUMENTS =
This function uses:
* $WORKSPACE
* $JOB_NAME
* $TRIPLET
|
Arguments:
* $1 is passed directly to unpack()
* (it can be 'nostrip' or empty)
| Arguments:
* $1 is passed directly to [[function_unpack|unpack()]]
* (it can be 'nostrip' or empty)
|
| = RETURN =
Returns 0 if actual build needs to be performed; 1 - otherwise.
|
| = SOURCE =
Located in ''scripts/functions.sh''
|
unpack, build
| = SEE ALSO =
* [[function_unpack|unpack]], [[function_build|build]]
|