public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Turning the buildsystem
@ 2026-08-07 16:04 Than Ngo
0 siblings, 0 replies; 5+ messages 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 : e7d506d9e3564ff816d1fa01af65f4657c21f68f
Author : Than Ngo <than@redhat.com>
Date : 2023-02-06T21:33:51+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/e7d506d9e3564ff816d1fa01af65f4657c21f68f?branch=epel9-next
Log:
Turning the buildsystem
---
diff --git a/chromium.spec b/chromium.spec
index 3081d50..f275fdc 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1180,7 +1180,7 @@ sed -i 's|moc|moc-qt5|g' ui/qt/moc_wrapper.py
export LANG=en_US.UTF-8
# Turning the buildsystem up to 11.
-ulimit -n 2048
+ulimit -n 4096
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/chromium] epel9-next: Turning the buildsystem
@ 2026-08-07 16:04 Than Ngo
0 siblings, 0 replies; 5+ messages 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 : 0032cb0f5bf225fa56798418bf1324ce1802bb64
Author : Than Ngo <than@redhat.com>
Date : 2023-02-09T09:42:40+01:00
Stats : +2/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/0032cb0f5bf225fa56798418bf1324ce1802bb64?branch=epel9-next
Log:
Turning the buildsystem
---
diff --git a/chromium.spec b/chromium.spec
index 2167efa..a16d31e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1049,6 +1049,8 @@ sed -i 's|moc|moc-qt5|g' ui/qt/moc_wrapper.py
# decode byte 0xe2 in position 474: ordinal not in range(128)
export LANG=en_US.UTF-8
+ulimit -n 4096
+
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -Wno-unused-variable'
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/chromium] epel9-next: turning the buildsystem
@ 2026-08-07 16:04 Than Ngo
0 siblings, 0 replies; 5+ messages 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 : a70d6db069b6b9092c2ed2260cb60feeb7fc66a5
Author : Than Ngo <than@redhat.com>
Date : 2023-02-07T22:59:16+01:00
Stats : +8/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/a70d6db069b6b9092c2ed2260cb60feeb7fc66a5?branch=epel9-next
Log:
turning the buildsystem
---
diff --git a/chromium.spec b/chromium.spec
index 55c1574..7c055bc 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -12,26 +12,20 @@
%undefine _package_note_file
%endif
-# Require 2 GB of RAM per CPU core
-# %%constrain_build -m 2048
-
# set default numjobs for the koji build
%ifarch aarch64
-%if %{_smp_build_ncpus} >= 8
%global numjobs 8
-%endif
-%if %{_smp_build_ncpus} >= 16
-%global numjobs 16
-%endif
-%if %{_smp_build_ncpus} >= 32
-%global numjobs 32
-%endif
-%if %{_smp_build_ncpus} >= 64
-%global numjobs 64
-%endif
%else
%global numjobs %{_smp_build_ncpus}
%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
# official builds have less debugging and go faster... but we have to shut some things off.
%global official_build 1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/chromium] epel9-next: Turning the buildsystem
@ 2026-08-07 16:04 Than Ngo
0 siblings, 0 replies; 5+ messages 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 : ec43a3a86c3b715ca41041f1c577bf4ea594665e
Author : Than Ngo <than@redhat.com>
Date : 2023-02-07T20:02:34+01:00
Stats : +17/-17 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/ec43a3a86c3b715ca41041f1c577bf4ea594665e?branch=epel9-next
Log:
Turning the buildsystem
---
diff --git a/chromium.spec b/chromium.spec
index fcc205d..55c1574 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -12,21 +12,27 @@
%undefine _package_note_file
%endif
+# Require 2 GB of RAM per CPU core
+# %%constrain_build -m 2048
+
# set default numjobs for the koji build
-# we got the aarch64 builder with 224 cores and x86_64 builder with 46 cores
-%global numjobs 48
%ifarch aarch64
+%if %{_smp_build_ncpus} >= 8
+%global numjobs 8
+%endif
+%if %{_smp_build_ncpus} >= 16
+%global numjobs 16
+%endif
+%if %{_smp_build_ncpus} >= 32
+%global numjobs 32
+%endif
+%if %{_smp_build_ncpus} >= 64
%global numjobs 64
%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}
+%else
%global numjobs %{_smp_build_ncpus}
%endif
-
+
# official builds have less debugging and go faster... but we have to shut some things off.
%global official_build 1
@@ -38,7 +44,7 @@
# %2 what
%global build_target() \
export NINJA_STATUS="[%2:%f/%t] " ; \
- ninja -j %{numjobs} -C '%1' -v '%2'
+ ninja -j %{numjobs} -C '%1' '%2'
# enable|disable headless client build
%global build_headless 1
@@ -1179,10 +1185,6 @@ sed -i 's|moc|moc-qt5|g' ui/qt/moc_wrapper.py
# decode byte 0xe2 in position 474: ordinal not in range(128)
export LANG=en_US.UTF-8
-# Turning the buildsystem up to 11.
-ulimit -a
-ulimit -n 2048
-
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -Wno-unused-variable'
@@ -1211,9 +1213,7 @@ export CXX=g++
%endif
export CFLAGS
export CXXFLAGS
-%ifarch aarch64
-export LDFLAGS="$LDFLAGS -Wl,-no-threads"
-%endif
+export LDFLAGS="$LDFLAGS -Wl,--threads=4"
export AR="llvm-ar"
export NM="llvm-nm"
export READELF="llvm-readelf"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [rpms/chromium] epel9-next: Turning the buildsystem
@ 2026-08-07 16:04 Than Ngo
0 siblings, 0 replies; 5+ messages 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 : 57a5faa007dd64a4f240e7e6815b2fef5fa00cd4
Author : Than Ngo <than@redhat.com>
Date : 2023-02-07T10:24:19+01:00
Stats : +9/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/57a5faa007dd64a4f240e7e6815b2fef5fa00cd4?branch=epel9-next
Log:
Turning the buildsystem
---
diff --git a/chromium.spec b/chromium.spec
index f275fdc..fcc205d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -38,7 +38,7 @@
# %2 what
%global build_target() \
export NINJA_STATUS="[%2:%f/%t] " ; \
- ninja -j %{numjobs} -C '%1' '%2'
+ ninja -j %{numjobs} -C '%1' -v '%2'
# enable|disable headless client build
%global build_headless 1
@@ -1180,7 +1180,8 @@ sed -i 's|moc|moc-qt5|g' ui/qt/moc_wrapper.py
export LANG=en_US.UTF-8
# Turning the buildsystem up to 11.
-ulimit -n 4096
+ulimit -a
+ulimit -n 2048
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
@@ -1199,7 +1200,6 @@ CXXFLAGS="$CFLAGS"
# override system build flags
CFLAGS="$FLAGS"
CXXFLAGS="$FLAGS"
-LDFLAGS=""
%endif
%if %{clang}
@@ -1211,9 +1211,12 @@ export CXX=g++
%endif
export CFLAGS
export CXXFLAGS
-export LDFLAGS
-export AR=ar
-export NM=nm
+%ifarch aarch64
+export LDFLAGS="$LDFLAGS -Wl,-no-threads"
+%endif
+export AR="llvm-ar"
+export NM="llvm-nm"
+export READELF="llvm-readelf"
# enable toolset on el7
%if 0%{?rhel} == 7
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-08-07 16:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:04 [rpms/chromium] epel9-next: Turning the buildsystem Than Ngo
2026-08-07 16:04 Than Ngo
2026-08-07 16:04 [rpms/chromium] epel9-next: turning " Than Ngo
2026-08-07 16:04 [rpms/chromium] epel9-next: Turning " Than Ngo
2026-08-07 16:04 Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox