Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Adélie Linux
abuild
Commits
10020292
Commit
10020292
authored
Nov 08, 2018
by
Timo Teräs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: print build start, end date and elapsed time
parent
17cb68e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
abuild.in
abuild.in
+5
-1
No files found.
abuild.in
View file @
10020292
...
...
@@ -1519,11 +1519,15 @@ build_abuildrepo() {
#
check
early
if
we
have
abuild
key
abuild
-
sign
--
installed
logcmd
"building $repo/$pkgname-$pkgver-r$pkgrel"
msg
"Building $repo/$pkgname $pkgver-r$pkgrel (using $program $program_version)"
local
_starttime
=$(
date
--
utc
+%
s
)
msg
"Building $repo/$pkgname $pkgver-r$pkgrel (using $program $program_version) started $(date -R)"
for
part
in
sanitycheck
builddeps
clean
fetch
unpack
prepare
mkusers
build
\
$
_check
rootpkg
;
do
runpart
$
part
done
local
_endtime
=$(
date
--
utc
+%
s
)
local
_difftime
=$((
_endtime
-
_starttime
))
msg
"Build complete at $(date -R) elaped time $((_difftime/3600))h $((_difftime/60%60))m $((_difftime%60))s"
cleanup
$
CLEANUP
fi
update_abuildrepo_index
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment