[libclc] r200413 - Enforce python2 for systems that use python3 as their default.
Nico Weber
thakis at chromium.org
Wed Jan 29 12:15:45 PST 2014
This breaks systems that keep "python" as python2 and don't have a
"python2" binary, no?
On Wed, Jan 29, 2014 at 12:03 PM, Tom Stellard <thomas.stellard at amd.com>wrote:
> Author: tstellar
> Date: Wed Jan 29 14:03:24 2014
> New Revision: 200413
>
> URL: http://llvm.org/viewvc/llvm-project?rev=200413&view=rev
> Log:
> Enforce python2 for systems that use python3 as their default.
>
> Patch by: Dan Liew
>
> Modified:
> libclc/trunk/configure.py
>
> Modified: libclc/trunk/configure.py
> URL:
> http://llvm.org/viewvc/llvm-project/libclc/trunk/configure.py?rev=200413&r1=200412&r2=200413&view=diff
>
> ==============================================================================
> --- libclc/trunk/configure.py (original)
> +++ libclc/trunk/configure.py Wed Jan 29 14:03:24 2014
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/env python2
>
> def c_compiler_rule(b, name, description, compiler, flags):
> command = "%s -MMD -MF $out.d %s -c -o $out $in" % (compiler, flags)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140129/cc4bc065/attachment.html>
More information about the cfe-commits
mailing list