[Mesa-dev] [PATCH] scons: Add instrumentation component libraries to linking on llvm-3.2.
Vinson Lee
vlee at freedesktop.org
Sat Jul 21 00:57:02 PDT 2012
llvm-3.2svn r160587 moved createBoundsCheckingPass from
lib/Transforms/Scalar to lib/Transforms/Instrumentation.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
scons/llvm.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scons/llvm.py b/scons/llvm.py
index f87766a..2fb82f0 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')
--
1.7.11.1
More information about the mesa-dev
mailing list