commit 1f62decb1be130639412774a06b358eca06a4faf Author: Georg Koppen gk@torproject.org Date: Sun Nov 8 10:25:00 2020 +0000
Bug 40081: Build Mozilla code with --enable-rust-simd
Mozilla builds their CI and shipped code with Rust SIMD enabled (see: https://bugzilla.mozilla.org/show_bug.cgi?id=1578677#c4). We should therefore do the same. Thanks to a cypherpunk for pointing that out. --- projects/firefox/mozconfig-linux-i686 | 1 + projects/firefox/mozconfig-linux-x86_64 | 1 + projects/firefox/mozconfig-linux-x86_64-asan | 1 + projects/firefox/mozconfig-osx-x86_64 | 1 + projects/firefox/mozconfig-windows-i686 | 1 + projects/firefox/mozconfig-windows-x86_64 | 1 + projects/geckoview/mozconfig-android-aarch64 | 1 + projects/geckoview/mozconfig-android-armv7 | 1 + projects/geckoview/mozconfig-android-x86 | 1 + projects/geckoview/mozconfig-android-x86_64 | 1 + 10 files changed, 10 insertions(+)
diff --git a/projects/firefox/mozconfig-linux-i686 b/projects/firefox/mozconfig-linux-i686 index 76c3ba3..2d0e08f 100755 --- a/projects/firefox/mozconfig-linux-i686 +++ b/projects/firefox/mozconfig-linux-i686 @@ -17,6 +17,7 @@ export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc' ac_add_options --target=i686-linux-gnu
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
# Let's support GTK3 for ESR60 diff --git a/projects/firefox/mozconfig-linux-x86_64 b/projects/firefox/mozconfig-linux-x86_64 index 251cdc0..47c23e9 100755 --- a/projects/firefox/mozconfig-linux-x86_64 +++ b/projects/firefox/mozconfig-linux-x86_64 @@ -15,6 +15,7 @@ HOST_CXX=$CXX export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
# Let's support GTK3 for ESR60 diff --git a/projects/firefox/mozconfig-linux-x86_64-asan b/projects/firefox/mozconfig-linux-x86_64-asan index a1c4e46..8bee813 100644 --- a/projects/firefox/mozconfig-linux-x86_64-asan +++ b/projects/firefox/mozconfig-linux-x86_64-asan @@ -23,6 +23,7 @@ ac_add_options --disable-elf-hack ac_add_options --with-clang-path=/var/tmp/dist/clang/bin/clang
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
# Let's support GTK3 for ESR60 diff --git a/projects/firefox/mozconfig-osx-x86_64 b/projects/firefox/mozconfig-osx-x86_64 index 09c53fc..4609839 100644 --- a/projects/firefox/mozconfig-osx-x86_64 +++ b/projects/firefox/mozconfig-osx-x86_64 @@ -33,6 +33,7 @@ ac_add_options --enable-application=browser ac_add_options --enable-strip ac_add_options --enable-official-branding ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --disable-debug
ac_add_options --enable-tor-browser-data-outside-app-dir diff --git a/projects/firefox/mozconfig-windows-i686 b/projects/firefox/mozconfig-windows-i686 index 3708dd7..0f267a5 100644 --- a/projects/firefox/mozconfig-windows-i686 +++ b/projects/firefox/mozconfig-windows-i686 @@ -23,6 +23,7 @@ export MOZILLA_OFFICIAL=1
ac_add_options --disable-debug ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-strip ac_add_options --enable-official-branding
diff --git a/projects/firefox/mozconfig-windows-x86_64 b/projects/firefox/mozconfig-windows-x86_64 index 52956e2..d1b0793 100644 --- a/projects/firefox/mozconfig-windows-x86_64 +++ b/projects/firefox/mozconfig-windows-x86_64 @@ -23,6 +23,7 @@ export MOZILLA_OFFICIAL=1
ac_add_options --disable-debug ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-strip ac_add_options --enable-official-branding
diff --git a/projects/geckoview/mozconfig-android-aarch64 b/projects/geckoview/mozconfig-android-aarch64 index 5839477..4084714 100644 --- a/projects/geckoview/mozconfig-android-aarch64 +++ b/projects/geckoview/mozconfig-android-aarch64 @@ -7,6 +7,7 @@ CXX="clang++" ac_add_options --with-android-min-sdk=21
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
ac_add_options --enable-application=mobile/android diff --git a/projects/geckoview/mozconfig-android-armv7 b/projects/geckoview/mozconfig-android-armv7 index 2530049..1ac85f7 100644 --- a/projects/geckoview/mozconfig-android-armv7 +++ b/projects/geckoview/mozconfig-android-armv7 @@ -7,6 +7,7 @@ CXX="clang++" ac_add_options --with-android-min-sdk=16
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
ac_add_options --enable-application=mobile/android diff --git a/projects/geckoview/mozconfig-android-x86 b/projects/geckoview/mozconfig-android-x86 index 160f95f..03de28b 100644 --- a/projects/geckoview/mozconfig-android-x86 +++ b/projects/geckoview/mozconfig-android-x86 @@ -7,6 +7,7 @@ CXX="clang++" ac_add_options --with-android-min-sdk=16
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
ac_add_options --enable-application=mobile/android diff --git a/projects/geckoview/mozconfig-android-x86_64 b/projects/geckoview/mozconfig-android-x86_64 index 5ca74e3..5ba86cf 100644 --- a/projects/geckoview/mozconfig-android-x86_64 +++ b/projects/geckoview/mozconfig-android-x86_64 @@ -7,6 +7,7 @@ CXX="clang++" ac_add_options --with-android-min-sdk=21
ac_add_options --enable-optimize +ac_add_options --enable-rust-simd ac_add_options --enable-official-branding
ac_add_options --enable-application=mobile/android
tbb-commits@lists.torproject.org