[PATCH] D93651: [buildbot] Force lld for ThinLTO whole program devirtualization worker

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 10:34:24 PST 2020


tejohnson created this revision.
tejohnson added reviewers: gkistanova, mtrofin.
Herald added subscribers: inglorion, Prazek.
tejohnson requested review of this revision.

Force use of lld, so that the configure step uses it. Otherwise we get
an error on the 3rd stage configure which will use the lld-only
--lto-whole-program-devirtualization option.

See: http://lab.llvm.org:8014/#/builders/137/builds/1921/steps/17/logs/stdio


Repository:
  rZORG LLVM Github Zorg

https://reviews.llvm.org/D93651

Files:
  buildbot/osuosl/master/config/builders.py


Index: buildbot/osuosl/master/config/builders.py
===================================================================
--- buildbot/osuosl/master/config/builders.py
+++ buildbot/osuosl/master/config/builders.py
@@ -1070,7 +1070,7 @@
                         '-DLLVM_CCACHE_BUILD=ON',
                         '-DCMAKE_CXX_FLAGS=-O3 -Xclang -fwhole-program-vtables -fno-split-lto-unit',
                         '-DCMAKE_C_FLAGS=-O3 -Xclang -fwhole-program-vtables -fno-split-lto-unit',
-                        '-DCMAKE_EXE_LINKER_FLAGS=-Wl,--lto-whole-program-visibility'])},
+                        '-DCMAKE_EXE_LINKER_FLAGS=-Wl,--lto-whole-program-visibility -fuse-ld=lld'])},
 
     {'name' : "clang-with-lto-ubuntu",
     'tags'  : ["clang","lld","LTO"],


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93651.313150.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201221/7da6a52c/attachment.bin>


More information about the llvm-commits mailing list