Skip to content

Commit 611cc49

Browse files
authored
Merge pull request #300 from nathanchance/adjust-base-configuration
Adjust the base LLVM configuration
2 parents 9478f45 + e2347d1 commit 611cc49

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tc_build/llvm.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ def __init__(self):
3232
self.build_targets = ['all']
3333
self.ccache = False
3434
self.check_targets = []
35-
self.cmake_defines = {}
35+
self.cmake_defines = {
36+
# Reduce dynamic dependencies
37+
'LLVM_ENABLE_LIBXML2': 'OFF',
38+
# While this option reduces build resources and disk space, it
39+
# increases start up time for the tools dynamically linked against
40+
# it and limits optimization opportunities for LTO, PGO, and BOLT.
41+
'LLVM_LINK_LLVM_DYLIB': 'OFF',
42+
}
3643
self.install_targets = []
3744
self.llvm_major_version = 0
3845
self.tools = None

0 commit comments

Comments
 (0)