More version experimentation.

llvm-svn: 64271
This commit is contained in:
Mike Stump 2009-02-11 01:01:17 +00:00
parent a9faa44162
commit 9d5d3b9de5
1 changed files with 4 additions and 1 deletions

View File

@ -304,7 +304,10 @@ class Driver(object):
def printVersion(self):
# FIXME: Print default target triple.
print >>sys.stderr,'ccc version 1.0 ($HeadURL$)'
vers = '$HeadURL$'
vers = vers.split('/tools/ccc')[0]
vers = ' (' + vers[10:] + ')'
print >>sys.stderr,'ccc version 1.0' + vers
def handleImmediateOptions(self, args):
# FIXME: Some driver Arguments are consumed right off the bat,