mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 13:27:05 +00:00
fix usage-wrapper for Ubuntu/i386
This commit is contained in:
parent
1a852fe062
commit
12e4ddd238
5
debian/rules
vendored
5
debian/rules
vendored
@ -86,10 +86,13 @@ NJOBS := $(shell mt=`awk '/^(MemAvail|SwapFree)/ { mt += $$2 } END {print mt}' /
|
||||
'END { mt/=1024; n2 = int(mt/m); print n==1 ? 1 : n2<n+1 ? n2 : n+1}' < /dev/null)
|
||||
|
||||
TIME_COMMAND = /bin/time -v
|
||||
TIME_COMMAND = $(CURDIR)/debian/usage-wrapper.py -j $(NJOBS) --base-memory -m 4.0 -o usage-$(notdir $@)-$(DEB_HOST_ARCH).svg
|
||||
TIME_COMMAND = $(CURDIR)/debian/usage-wrapper.py $(SUMMARY_ONLY) -j $(NJOBS) --base-memory -m 4.0 -o usage-$(notdir $@)-$(DEB_HOST_ARCH).svg
|
||||
ifneq (,$(findstring usage-wrapper, $(TIME_COMMAND)))
|
||||
ifeq ($(DERIVATIVE),Ubuntu)
|
||||
USAGE_BUILD_DEP = $(EMPTY) python3:any, python3-psutil, python3-matplotlib [!i386],
|
||||
ifeq ($(DEB_HOST_ARCH),i386)
|
||||
SUMMARY_ONLY = --summary-only
|
||||
endif
|
||||
else
|
||||
USAGE_BUILD_DEP = $(EMPTY) python3:any, python3-psutil, python3-matplotlib,
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user