mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 13:41:28 +00:00
report total build time
This commit is contained in:
@@ -55,6 +55,8 @@ if CPUCOUNT < 1:
|
||||
|
||||
binary_list = []
|
||||
|
||||
started_at = time.time()
|
||||
|
||||
# this is used for reporting (at the end of the build)
|
||||
# the server configuration
|
||||
report = {
|
||||
@@ -521,6 +523,8 @@ def build_uwsgi(uc, print_only=False, gcll=None):
|
||||
print("")
|
||||
print("############## end of uWSGI configuration #############")
|
||||
|
||||
print("total build time: %d seconds" % (time.time() - started_at))
|
||||
|
||||
if bin_name.find("/") < 0:
|
||||
bin_name = './' + bin_name
|
||||
if uc.get('as_shared_library'):
|
||||
|
||||
Reference in New Issue
Block a user