[libclc] r200413 - Enforce python2 for systems that use python3 as their default.

Stellard, Thomas Tom.Stellard at amd.com
Wed Jan 29 12:25:10 PST 2014


cc'ing the author.

________________________________
From: thakis at google.com [thakis at google.com] on behalf of Nico Weber [thakis at chromium.org]
Sent: Wednesday, January 29, 2014 12:15 PM
To: Stellard, Thomas
Cc: cfe-commits at cs.uiuc.edu
Subject: Re: [libclc] r200413 - Enforce python2 for systems that use python3 as their default.

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<mailto: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<mailto: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/93dfa8e1/attachment.html>


More information about the cfe-commits mailing list