Sujet : Re: Open Source does not mean easily re-compile-able
De : kalevi (at) *nospam* kolttonen.fi (Kalevi Kolttonen)
Groupes : comp.unix.programmerDate : 28. Dec 2024, 22:07:19
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vkppa7$hces$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : tin/2.6.3-20231224 ("Banff") (Linux/6.12.6-200.fc41.x86_64 (x86_64))
Kalevi Kolttonen <
kalevi@kolttonen.fi> wrote:
It is really painful but I guess I have to use
just a single CPU:
./mach build -j1 -v
Because of this, the build takes forever to complete.
Despite that, rpmbuild was using three CPUS. Now trying
to add this too:
RPM_BUILD_NCPUS=1 rpmbuild -bb ~/rpmbuild/SPECS/thunderbird.spec
The build is in progress again and things look better now:
$ grep MOZ_MAKE_FLAGS /var/tmp/rpm-tmp.5ctL0k
echo "mk_add_options MOZ_MAKE_FLAGS=\"-j1\"" >> .mozconfig
Without explicit RPM_BUILD_NCPUS=1, rpmbuild defaulted to
3.
br,
KK