Commit a251df58 authored by Chaoting Liu's avatar Chaoting Liu

[testing] firefox: clang build

parent 9e1169d1
Pipeline #3161 failed with stages
in 2 minutes and 29 seconds
...@@ -145,6 +145,11 @@ ac_add_options --enable-optimize="-O2" ...@@ -145,6 +145,11 @@ ac_add_options --enable-optimize="-O2"
ac_add_options --enable-rust-simd ac_add_options --enable-rust-simd
ac_add_options --enable-lto ac_add_options --enable-lto
ac_add_options --enable-hardening ac_add_options --enable-hardening
export CC=clang
export CXX=clang++
export AR=llvm-ar
export NM=llvm-nm
export RANLIB=llvm-ranlib
# Release branding # Release branding
ac_add_options --enable-application=browser ac_add_options --enable-application=browser
...@@ -230,15 +235,14 @@ build_firefox() { ...@@ -230,15 +235,14 @@ build_firefox() {
cd $srcdir/${pkgname%%-kde}-${pkgver} cd $srcdir/${pkgname%%-kde}-${pkgver}
export PATH="$srcdir/path:$PATH" export PATH="$srcdir/path:$PATH"
export SHELL=/bin/bash
export MOZ_NOSPAM=1 export MOZ_NOSPAM=1
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
# LTO requires opening more files # LTO requires opening more files
ulimit -n 4096 ulimit -n 4096
# Do PGO # Do PGO
xvfb-run -a -n 95 -s "-extension GLX -screen 0 1280x1024x24" \ xvfb-run -a -n 97 -s "-extension GLX -screen 0 1280x1024x24" ./mach build
./mach build
} }
package() { package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment