You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "masaori335 (via GitHub)" <gi...@apache.org> on 2023/04/27 22:47:59 UTC
[GitHub] [trafficserver] masaori335 opened a new pull request, #9654: Doc: Add example of --enable-lto build option with LLVM
masaori335 opened a new pull request, #9654:
URL: https://github.com/apache/trafficserver/pull/9654
Note for somebody to try the `--enable-lto` build option, because I was trapped by missing `AR`, `NM`, and `RANLIB`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] masaori335 commented on a diff in pull request #9654: Doc: Add example of --enable-lto build option with LLVM
Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 commented on code in PR #9654:
URL: https://github.com/apache/trafficserver/pull/9654#discussion_r1179769785
##########
doc/admin-guide/installation/index.en.rst:
##########
@@ -170,6 +170,13 @@ working copy::
./configure --prefix=/opt/ats --with-pcre=/opt/csw/include:/opt/csw/lib/amd64
+ If you build |TS| with LLVM toolchain installed in optional path, you need to specify
+ all of them explicitly in some cases.
+
+ - e.g. ThinLTO by `--enable-lto`::
+
+ ./configure --prefix=/opt/ats --enable-lto CC=/opt/bin/clang CXX=/opt/bin/clang++ LD=/opt/bin/ld.lld AR=/opt/bin/llvm-ar NM=/opt/bin/llvm-nm RANLIB=/opt/bin/llvm-ranlib
Review Comment:
@zwoop Let me know if I still need to add more env variables to use the LLVM toolchain explicitly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] masaori335 merged pull request #9654: Doc: Add example of --enable-lto build option with LLVM
Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 merged PR #9654:
URL: https://github.com/apache/trafficserver/pull/9654
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org