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 (Closes: #1082359)
This commit is contained in:
parent
50fdb56cbe
commit
add7f37e23
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
llvm-toolchain-18 (1:18.1.8-12) UNRELEASED; urgency=medium
|
||||
|
||||
* Ensure that at least 1 CPU is used for build
|
||||
(Closes: #1082359)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 20 Sep 2024 13:22:50 +0200
|
||||
|
||||
llvm-toolchain-18 (1:18.1.8-11) unstable; urgency=medium
|
||||
|
||||
* Drop ocaml on armhf, ocamlopt disappeared making build ftbfs
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -60,7 +60,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