cc'ing the author. ________________________________ From: [email protected] [[email protected]] on behalf of Nico Weber [[email protected]] Sent: Wednesday, January 29, 2014 12:15 PM To: Stellard, Thomas Cc: [email protected] 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 <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
