[libclc] 04/92: configure.py: Drop explicit import of int builtin

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

aboll-guest pushed a commit to branch master
in repository libclc.

commit b73df2910b8bd95a7942ba292c8daac7a7a15588
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Tue Aug 15 22:24:05 2017 +0000

    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 at gmail.com>
    Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
    Reviewed-by: Kim Gräsman <kim.grasman at gmail.com>
    Reviewed-by: Aaron Watry <awatry at gmail.com>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@310968 91177308-0d34-0410-b5e6-96231b3b80d8
---
 configure.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configure.py b/configure.py
index 8e7017d..85004b1 100755
--- a/configure.py
+++ b/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")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list