[Mesa-dev] [PATCH] scons: Add instrumentation component libraries to linking on llvm-3.2.
Jose Fonseca
jfonseca at vmware.com
Sat Jul 21 02:37:01 PDT 2012
Sounds good. Thanks Vinson.
Jose
----- Original Message -----
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list