configure.py: Drop explicit import of int builtin
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 15 Aug 2017 22:24:05 +0000 (22:24 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 15 Aug 2017 22:24:05 +0000 (22:24 +0000)
I can't reproduce the error that made me add this.

Reported-by: Kim Gräsman <kim.grasman@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Kim Gräsman <kim.grasman@gmail.com>
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 310968

libclc/configure.py

index 8e7017d..85004b1 100755 (executable)
@@ -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")