@@ -27,17 +27,17 @@ ac_add_options --enable-clang-plugin
27
27
ac_add_options --enable-lto=cross
28
28
#ac_add_options --enable-profile-use=cross
29
29
# Enable for normal
30
- # ac_add_options --enable-optimize="-O2 -O3 -Xclang -O3"
30
+ ac_add_options --enable-optimize="-O2 -O3 -Xclang -O3"
31
31
# Enable for SSE3
32
32
#ac_add_options --enable-optimize="-O2 -O3 -msse3 -Xclang -O3"
33
33
# Enable for SSE4
34
- ac_add_options --enable-optimize="-O2 -O3 -msse3 -mssse3 -msse4.1 -Xclang -O3"
34
+ # ac_add_options --enable-optimize="-O2 -O3 -msse3 -mssse3 -msse4.1 -Xclang -O3"
35
35
# Enable this first for AVX/2
36
36
#ac_add_options --enable-wasm-avx
37
37
# Enable for AVX
38
38
#ac_add_options --enable-optimize="-O2 -O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -Xclang -O3"
39
39
# Enable for AVX2
40
- ac_add_options --enable-optimize="-O2 -O3 -march=x86-64-v3 -Xclang -O3"
40
+ # ac_add_options --enable-optimize="-O2 -O3 -march=x86-64-v3 -Xclang -O3"
41
41
ac_add_options --enable-rust-simd
42
42
ac_add_options --enable-hardening
43
43
export MOZILLA_OFFICIAL=1
@@ -65,8 +65,8 @@ ac_add_options --disable-updater
65
65
ac_add_options --disable-maintenance-service
66
66
ac_add_options --without-wasm-sandboxed-libraries
67
67
ac_add_options --disable-bits-download
68
- export MOZ_SOURCE_CHANGESET=${changeset}
69
- # export MOZ_SOURCE_CHANGESET=insertgoofyhere
68
+ # export MOZ_SOURCE_CHANGESET=${changeset}
69
+ export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason
70
70
mk_add_options MOZ_CRASHREPORTER=0
71
71
mk_add_options MOZ_DATA_REPORTING=0
72
72
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
@@ -80,10 +80,10 @@ export MOZ_REQUIRE_SIGNING=
80
80
export MOZ_TELEMETRY_REPORTING=
81
81
82
82
# Branding
83
- # ac_add_options --with-app-name=r3dfox
84
- # ac_add_options --with-app-basename=r3dfox
85
- # ac_add_options --with-branding=browser/branding/r3dfox
86
- # ac_add_options --with-distribution-id=com.eclipse.r3dfox
83
+ ac_add_options --with-app-name=r3dfox
84
+ ac_add_options --with-app-basename=r3dfox
85
+ ac_add_options --with-branding=browser/branding/r3dfox
86
+ ac_add_options --with-distribution-id=com.eclipse.r3dfox
87
87
88
88
# Plasmafox Branding
89
89
#ac_add_options --with-app-name=Plasmafox
@@ -106,19 +106,20 @@ export RUSTC_OPT_LEVEL="3"
106
106
ac_add_options RUSTC_OPT_LEVEL="3"
107
107
108
108
# Enable PGO/LTO
109
- # export MOZ_LTO=cross
110
- # ac_add_options MOZ_LTO=cross
111
- # export MOZ_PGO=1
112
- # ac_add_options MOZ_PGO=1
109
+ export MOZ_LTO=cross
110
+ ac_add_options MOZ_LTO=cross
111
+ export MOZ_PGO=1
112
+ ac_add_options MOZ_PGO=1
113
113
114
114
# Enable for normal
115
115
# Compiler, Linker, and Rust flags
116
- #export CFLAGS="-O3 /clang:-O3"
117
- #export CPPFLAGS="-O3 /clang:-O3"
118
- #export CXXFLAGS="-O3 /clang:-O3"
119
- #export LDFLAGS="-Wl,-O3"
120
- #Uncomment below if building latest
116
+ export CFLAGS="-O3 /clang:-O3"
117
+ export CPPFLAGS="-O3 /clang:-O3"
118
+ export CXXFLAGS="-O3 /clang:-O3"
119
+ export LDFLAGS="-Wl,-O3"
121
120
#export RUSTFLAGS="-C"
121
+ #Comment above if building older? Why is the above borked in normal but fine in SSE4?
122
+
122
123
123
124
# Enable for SSE3
124
125
# Compiler, Linker, and Rust flags
@@ -127,18 +128,18 @@ ac_add_options RUSTC_OPT_LEVEL="3"
127
128
#export CXXFLAGS="-O3 -msse3 /clang:-O3"
128
129
#export LDFLAGS="-Wl,-O3 -msse3"
129
130
#export RUSTFLAGS="target-feature=+sse3"
130
- #Comment above and uncomment below if building latest
131
131
#export RUSTFLAGS="-C target-feature=+sse3"
132
+ #Comment above if building older
132
133
133
134
# Enable for SSE4
134
135
# Compiler, Linker, and Rust flags
135
- export CFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
136
- export CPPFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
137
- export CXXFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
138
- export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1"
136
+ # export CFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
137
+ # export CPPFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
138
+ # export CXXFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
139
+ # export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1"
139
140
#export RUSTFLAGS=target-feature=+sse4.1"
140
- #Comment above and uncomment below if building latest
141
- export RUSTFLAGS="-C target-feature=+sse4.1"
141
+ #export RUSTFLAGS="-C target-feature=+sse4.1"
142
+ #Comment above if building older
142
143
143
144
# Enable for AVX
144
145
# Compiler, Linker, and Rust flags
@@ -147,8 +148,8 @@ export RUSTFLAGS="-C target-feature=+sse4.1"
147
148
#export CXXFLAGS="-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
148
149
#export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes"
149
150
#export RUSTFLAGS="target-feature=+avx"
150
- #Comment above and uncomment below if building latest
151
151
#export RUSTFLAGS="-C target-feature=+avx"
152
+ #Comment above if building older
152
153
153
154
# Enable for AVX2
154
155
# Compiler, Linker, and Rust flags
@@ -157,8 +158,8 @@ export RUSTFLAGS="-C target-feature=+sse4.1"
157
158
#export CXXFLAGS="-O3 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
158
159
#export LDFLAGS="-Wl,-O3 -march=x86-64-v3"
159
160
#export RUSTFLAGS="target-feature=+avx2"
160
- #Comment above and uncomment below if building latest
161
161
#export RUSTFLAGS="-C target-feature=+avx2"
162
+ #Comment above if building older
162
163
163
164
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
164
165
export VERBOSE=1
0 commit comments