tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust, rust-bin, bulk builds



On 04.06.2020 17:06, Manuel Bouyer wrote:
Actually rust from 2020Q1 seems to be building reliably on -9, when
using MAKE_JOBS=1 (for some reason, MAKE_JOB_SAFE=no is not enough).

Setting MAKE_JOBS_SAFE=no is enough.  To have an effect though, it _has_
to be set.

Since 2020-05-21, MAKE_JOBS_SAFE is not set on NetBSD anymore.  It would
have only been set if the NetBSD version were both 9.99.* _and_
[1-9][0-9].* at the same time, which is syntactically impossible.  The
&& should have been an || and should have been properly enclosed in
parentheses.

To make this easier to spot, it may make sense to test OS_VERSION
instead of MACHINE_PLATFORM, to remove the redundant "NetBSD" from the
conditions and focus on the interesting part of the pattern.  In
addition, I find ${OS_VERSION:M9.99.*} easier readable than
!empty(OS_VERSION:M9.99.*) since that contains two fewer negations.


Home | Main Index | Thread Index | Old Index