mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-19 14:24:07 +00:00
Allow build on machines without too many CPU Thanks to Santiago Vila for the patch (Closes: #1067714)
This commit is contained in:
parent
8b318786ef
commit
72f74dad49
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,8 +1,14 @@
|
||||
llvm-toolchain-17 (1:17.0.6-11) UNRELEASED; urgency=medium
|
||||
llvm-toolchain-17 (1:17.0.6-11) unstable; urgency=medium
|
||||
|
||||
[ Matthias Klose ]
|
||||
* Fix libomp symbols file for t64.
|
||||
|
||||
-- Matthias Klose <doko@debian.org> Sun, 14 Apr 2024 12:00:52 +0200
|
||||
[ Sylvestre Ledru ]
|
||||
* Allow build on machines without too many CPU
|
||||
Thanks to Santiago Vila for the patch
|
||||
(Closes: #1067714)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 24 Apr 2024 12:21:11 +0200
|
||||
|
||||
llvm-toolchain-17 (1:17.0.6-10) unstable; urgency=medium
|
||||
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -59,7 +59,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)
|
||||
|
||||
DH_VERSION := $(shell dpkg -s debhelper | grep '^Version' | awk '{print $$2}')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user