public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: - limit numbjobs
@ 2026-08-07 16:04 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 9703a37608cd06a7bb4ac3ed5f1997398ff169a0
Author : Than Ngo <than@redhat.com>
Date : 2023-01-20T13:16:27+01:00
Stats : +7/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/9703a37608cd06a7bb4ac3ed5f1997398ff169a0?branch=epel9-next
Log:
- limit numbjobs
- improve changing shebang
- drop _lto_cflags
---
diff --git a/chromium.spec b/chromium.spec
index 2d0e4bc..1f975af 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1,5 +1,3 @@
-%define _lto_cflags %{nil}
-
# enable|disable system build flags
%global system_build_flags 0
@@ -9,15 +7,16 @@
%undefine _package_note_file
%endif
-%global numjobs 32
+# set default numjobs for the koji build
+%global numjobs 16
%ifarch aarch64
-%global numjobs 32
+%global numjobs 8
%endif
-
+
# This flag is so I can build things very fast on a giant system.
# Enabling this in koji causes aarch64 builds to timeout indefinitely.
%global use_all_cpus 0
-
+
%if %{use_all_cpus}
%global numjobs %{_smp_build_ncpus}
%endif
@@ -1034,7 +1033,8 @@ udev.
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
-find -type f -exec sed -iE '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
+find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
+
# Unpack fonts
pushd third_party/test_fonts
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:04 [rpms/chromium] epel9-next: - limit numbjobs Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox