Lines Matching refs:tmpfile
408 tmpfile = os.path.join(self.build_temp, 'multiarch')
412 '%s -print-multiarch > %s 2> /dev/null' % (cc, tmpfile))
416 with open(tmpfile) as fp:
419 os.unlink(tmpfile)
433 tmpfile = os.path.join(self.build_temp, 'multiarch')
438 (opt, tmpfile))
441 with open(tmpfile) as fp:
448 os.unlink(tmpfile)
452 tmpfile = os.path.join(self.build_temp, 'gccpaths')
455 ret = os.system('%s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile))
462 with open(tmpfile) as fp:
480 os.unlink(tmpfile)
718 tmpfile = os.path.join(self.build_temp, 'readline_termcap_lib')
726 do_readline, tmpfile))
728 ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
732 with open(tmpfile) as fp:
743 if os.path.exists(tmpfile):
744 os.unlink(tmpfile)
1733 tmpfile = os.path.join(self.build_temp, 'tk.arch')
1740 os.system("file %s/Tk.framework/Tk | grep 'for architecture' > %s"%(os.path.join(sysroot, F[1:]), tmpfile))
1742 os.system("file %s/Tk.framework/Tk | grep 'for architecture' > %s"%(F, tmpfile))
1744 with open(tmpfile) as fp:
1750 os.unlink(tmpfile)