From 552b94bac781332262301392dcf065cc61abc462 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 7 Aug 2019 10:18:17 +0200 Subject: [PATCH] Use make -j1 for debugging purposes --- firefox.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/firefox.spec b/firefox.spec index ebad0b3..05724f9 100644 --- a/firefox.spec +++ b/firefox.spec @@ -561,23 +561,23 @@ MOZ_SMP_FLAGS=-j1 %ifarch %{ix86} [ -z "$RPM_BUILD_NCPUS" ] && \ RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`" -[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2 +#[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2 %endif %ifarch x86_64 ppc ppc64 ppc64le aarch64 [ -z "$RPM_BUILD_NCPUS" ] && \ RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`" -[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2 -[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4 -[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8 +#[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2 +#[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4 +#[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8 %endif export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS" export MOZ_SERVICES_SYNC="1" export STRIP=/bin/true %if 0%{?build_with_pgo} -GDK_BACKEND=x11 xvfb-run ./mach build 2>&1 | cat - +GDK_BACKEND=x11 xvfb-run ./mach build 2>&1 | cat - %else -env RUST_LOG=debug strace -y -f ./mach build 2>&1 | cat - +env RUST_LOG=debug strace -y -f ./mach build -v 2>&1 | cat - %endif # create debuginfo for crash-stats.mozilla.com