Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 18602:7d8270532cd9
mx: changes towards supporting python 2.6 for call to mx from make/Makefile
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 03 Dec 2014 16:07:22 +0100 |
parents | 676f1800077c |
children | 3d0422b6f8fa |
comparison
equal
deleted
inserted
replaced
18601:676f1800077c | 18602:7d8270532cd9 |
---|---|
719 cached_graal_version = most_recent_tag_version | 719 cached_graal_version = most_recent_tag_version |
720 else: | 720 else: |
721 major, minor = map(int, most_recent_tag_version.split('.')) | 721 major, minor = map(int, most_recent_tag_version.split('.')) |
722 cached_graal_version = str(major) + '.' + str(minor + 1) + '-' + dev_suffix | 722 cached_graal_version = str(major) + '.' + str(minor + 1) + '-' + dev_suffix |
723 else: | 723 else: |
724 cached_graal_version = 'unknown-{}-{}'.format(platform.node(), time.strftime('%Y-%m-%d_%H-%M-%S_%Z')) | 724 cached_graal_version = 'unknown-{0}-{1}'.format(platform.node(), time.strftime('%Y-%m-%d_%H-%M-%S_%Z')) |
725 | 725 |
726 return cached_graal_version | 726 return cached_graal_version |
727 | 727 |
728 def build(args, vm=None): | 728 def build(args, vm=None): |
729 """build the VM binary | 729 """build the VM binary |