File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -589,7 +589,6 @@ def __init__(self):
589589
590590 self .cmake_defines ['LLVM_BUILD_INSTRUMENTED' ] = 'IR'
591591 self .cmake_defines ['LLVM_BUILD_RUNTIME' ] = 'OFF'
592- self .cmake_defines ['LLVM_LINK_LLVM_DYLIB' ] = 'ON'
593592
594593 def configure (self ):
595594 # The following defines are needed to avoid thousands of warnings
@@ -621,6 +620,13 @@ def configure(self):
621620 self .cmake_defines ['CMAKE_C_FLAGS' ] = ' ' .join (cflags )
622621 self .cmake_defines ['CMAKE_CXX_FLAGS' ] = ' ' .join (cxxflags )
623622
623+ # These are currently incompatible:
624+ # https://github.com/llvm/llvm-project/pull/133596
625+ # But that should not matter much in this case because multicall uses
626+ # much less disk space.
627+ if not self .multicall_is_enabled ():
628+ self .cmake_defines ['LLVM_LINK_LLVM_DYLIB' ] = 'ON'
629+
624630 super ().configure ()
625631
626632 def generate_profdata (self ):
You can’t perform that action at this time.
0 commit comments