Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
ci
Compare Revisions
99c935d2007358fe4028560e96f9c136e608e696...16c8b6107119db3448b6828d3d2757888f2b2376
Commits (1)
allow configuring build target
· 16c8b610
Ralf Jung
authored
May 17, 2018
16c8b610
Hide whitespace changes
Inline
Side-by-side
buildjob
View file @
16c8b610
...
...
@@ -32,8 +32,9 @@ if [[ -n "$MANGLE_NAMES" ]]; then
fi
# Build
echo_color
"
$BOLDGREEN
"
"[buildjob] Perfoming build"
time
make
--output-sync
--no-print-directory
-k
-j
$CPU_CORES
TIMED
=
y 2>&1 |
tee
build-log.txt
BUILD_TARGET
=
${
BUILD_TARGET
:-
all
}
echo_color
"
$BOLDGREEN
"
"[buildjob] Perfoming build (target:
$BUILD_TARGET
)"
time
make
$BUILD_TARGET
--output-sync
--no-print-directory
-k
-j
$CPU_CORES
TIMED
=
y 2>&1 |
tee
build-log.txt
echo_color
"
$BOLDGREEN
"
"[buildjob] Build time summary"
cat
build-log.txt | egrep
"(real|user): [0-9]"
|
tee
build-time.txt
...
...