Author: jvesely Date: Tue Aug 15 15:24:05 2017 New Revision: 310968 URL: http://llvm.org/viewvc/llvm-project?rev=310968&view=rev Log: configure.py: Drop explicit import of int builtin
I can't reproduce the error that made me add this. Reported-by: Kim Gräsman <kim.gras...@gmail.com> Signed-off-by: Jan Vesely <jan.ves...@rutgers.edu> Reviewed-by: Kim Gräsman <kim.gras...@gmail.com> Reviewed-by: Aaron Watry <awa...@gmail.com> Modified: libclc/trunk/configure.py Modified: libclc/trunk/configure.py URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/configure.py?rev=310968&r1=310967&r2=310968&view=diff ============================================================================== --- libclc/trunk/configure.py (original) +++ libclc/trunk/configure.py Tue Aug 15 15:24:05 2017 @@ -1,12 +1,6 @@ #!/usr/bin/python from __future__ import print_function -# We only need this for int() cast, which works by default in python 2 -try: - from builtins import int -except: - pass - def c_compiler_rule(b, name, description, compiler, flags): command = "%s -MMD -MF $out.d %s -c -o $out $in" % (compiler, flags) b.rule(name, command, description + " $out", depfile="$out.d") _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits