Mercurial > hg > truffle
comparison pytools/gl.py @ 3628:61f10abeb25a
Removed more vestiges of JDK7G build support.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 09 Nov 2011 22:53:16 +0100 |
parents | c773cc740d4a |
children | b054dd61bfe1 |
comparison
equal
deleted
inserted
replaced
3627:c773cc740d4a | 3628:61f10abeb25a |
---|---|
173 raise subprocess.CalledProcessError(retcode, ' '.join(args)) | 173 raise subprocess.CalledProcessError(retcode, ' '.join(args)) |
174 self.abort(retcode) | 174 self.abort(retcode) |
175 | 175 |
176 return retcode | 176 return retcode |
177 | 177 |
178 def gmake_cmd(self): | |
179 for a in ['make', 'gmake', 'gnumake']: | |
180 try: | |
181 output = subprocess.check_output([a, '--version']) | |
182 if 'GNU' in output: | |
183 return a; | |
184 except: | |
185 pass | |
186 self.abort('Could not find a GNU make executable on the current path.') | |
178 | 187 |
179 def log(self, msg=None): | 188 def log(self, msg=None): |
180 if msg is None: | 189 if msg is None: |
181 print | 190 print |
182 else: | 191 else: |