Lines Matching refs:tmpfile
470 tmpfile = os.path.join(self.build_temp, 'multiarch')
474 '%s -print-multiarch > %s 2> /dev/null' % (cc, tmpfile))
478 with open(tmpfile) as fp:
481 os.unlink(tmpfile)
495 tmpfile = os.path.join(self.build_temp, 'multiarch')
500 (opt, tmpfile))
503 with open(tmpfile) as fp:
510 os.unlink(tmpfile)
514 tmpfile = os.path.join(self.build_temp, 'gccpaths')
517 ret = os.system('%s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile))
524 with open(tmpfile) as fp:
542 os.unlink(tmpfile)
787 tmpfile = os.path.join(self.build_temp, 'readline_termcap_lib')
795 do_readline, tmpfile))
797 ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
801 with open(tmpfile) as fp:
812 if os.path.exists(tmpfile):
813 os.unlink(tmpfile)
1747 tmpfile = os.path.join(self.build_temp, 'tk.arch')
1754 …m("file %s/Tk.framework/Tk | grep 'for architecture' > %s"%(os.path.join(sysroot, F[1:]), tmpfile))
1756 os.system("file %s/Tk.framework/Tk | grep 'for architecture' > %s"%(F, tmpfile))
1758 with open(tmpfile) as fp:
1764 os.unlink(tmpfile)