mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 09:50:53 +00:00
Ensure that at least 1 CPU is used for build Thanks to Santiago Vila for the patch (Closes: #1082360)
This commit is contained in:
parent
ae43dcf022
commit
d4cc10bc94
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -3,6 +3,9 @@ llvm-toolchain-19 (1:19.1.0-4) UNRELEASED; urgency=medium
|
||||
[ Sylvestre Ledru ]
|
||||
* Adjust the workaround for apt.llvm.org version upgrades
|
||||
https://github.com/llvm/llvm-project/issues/109276
|
||||
* Ensure that at least 1 CPU is used for build
|
||||
Thanks to Santiago Vila for the patch
|
||||
(Closes: #1082360)
|
||||
|
||||
[ Matthias Klose ]
|
||||
* Don't relax versioned shlibs dependencies for snapshot builds and
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -84,7 +84,7 @@ else
|
||||
endif
|
||||
NJOBS := $(shell mt=`awk '/^(MemAvail|SwapFree)/ { mt += $$2 } END {print mt}' /proc/meminfo`; \
|
||||
awk -vn=$(NCPUS) -vmt=$$mt -vm=$(MEM_PER_CPU) \
|
||||
'END { mt/=1024; n2 = int(mt/m); print n==1 ? 1 : n2<n+1 ? n2 : n+1}' < /dev/null)
|
||||
'END { mt/=1024; n2 = int(mt/m); print n==1 || n2<=1 ? 1 : n2<=n ? n2 : n }' < /dev/null)
|
||||
|
||||
TIME_COMMAND = $(CURDIR)/debian/usage-wrapper.py $(SUMMARY_ONLY) -j $(NJOBS) --base-memory -m 4.0 -o usage-$(notdir $@)-$(DEB_HOST_ARCH).svg
|
||||
TIME_BIN := $(if $(wildcard /usr/bin/time),/usr/bin/time,/bin/time)
|
||||
|
Loading…
Reference in New Issue
Block a user