diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-29 15:19:03 +0200 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-29 15:19:03 +0200 |
commit | 1784ded7dd23c5ea13562cb66e6ebbf0473bae09 (patch) | |
tree | d6e6f089affc525d850ab7b499697bc65d2ed853 /binary_tarball/scripts | |
parent | nasm is, of course, not recent as well (diff) | |
download | librewolf-linux-1784ded7dd23c5ea13562cb66e6ebbf0473bae09.tar.gz librewolf-linux-1784ded7dd23c5ea13562cb66e6ebbf0473bae09.tar.bz2 librewolf-linux-1784ded7dd23c5ea13562cb66e6ebbf0473bae09.zip |
try profiling without =cross
Diffstat (limited to 'binary_tarball/scripts')
-rwxr-xr-x | binary_tarball/scripts/4_Build_Binary_Tarball.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh index c8b70b8..4c08380 100755 --- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh +++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh @@ -34,11 +34,6 @@ fi # LTO needs more open files ulimit -n 4096 -# -fno-plt with cross-LTO causes obscure LLVM errors -# LLVM ERROR: Function Import: link error -CFLAGS="${CFLAGS/-fno-plt/}" -CXXFLAGS="${CXXFLAGS/-fno-plt/}" - # Prevents build from breaking in CI/CD environments export SHELL=/bin/bash; @@ -69,7 +64,12 @@ END else cat >.mozconfig ${CI_PROJECT_DIR}/mozconfig - <<END -ac_add_options --enable-profile-generate=cross +# -fno-plt with cross-LTO causes obscure LLVM errors +# LLVM ERROR: Function Import: link error +# CFLAGS="${CFLAGS/-fno-plt/}" +# CXXFLAGS="${CXXFLAGS/-fno-plt/}" + +ac_add_options --enable-profile-generate END fi @@ -114,8 +114,8 @@ END else cat >.mozconfig ${CI_PROJECT_DIR}/mozconfig - <<END -ac_add_options --enable-lto=cross -ac_add_options --enable-profile-use=cross +ac_add_options --enable-lto +ac_add_options --enable-profile-use ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog ac_add_options --enable-linker=gold |