summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2017-08-15 22:24:05 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2017-08-15 22:24:05 +0000
commit7fc4c79fa5c176060af7cb18097001b4d936c150 (patch)
tree9e69b773f008313e75320a035356f55c33f24b3f
parent55d93e79df71de02dd9cc057a205038476b29856 (diff)
downloadbcm5719-llvm-7fc4c79fa5c176060af7cb18097001b4d936c150.tar.gz
bcm5719-llvm-7fc4c79fa5c176060af7cb18097001b4d936c150.zip
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.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
-rwxr-xr-xlibclc/configure.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/libclc/configure.py b/libclc/configure.py
index 8e7017d51f6..85004b1e9c4 100755
--- a/libclc/configure.py
+++ b/libclc/configure.py
@@ -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")
OpenPOWER on IntegriCloud