summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scons/llvm.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index f87766af190..2fb82f06a04 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -180,6 +180,9 @@ def generate(env):
components = ['engine', 'bitwriter', 'x86asmprinter']
+ if llvm_version >= distutils.version.LooseVersion('3.2'):
+ components.append('instrumentation')
+
if llvm_version >= distutils.version.LooseVersion('3.1'):
components.append('mcjit')