Mercurial > hg > graal-compiler
comparison mxtool/mx.py @ 22130:3f01bf8c02eb
mx: mxMxDir should be absolute (fixes Library.get_path()).
author | Danilo Ansaloni <danilo.ansaloni@oracle.com> |
---|---|
date | Tue, 30 Jun 2015 12:32:51 +0200 |
parents | 6b5221d7b5c1 |
children | 32434ca987d7 |
comparison
equal
deleted
inserted
replaced
22129:769e2e74e4f3 | 22130:3f01bf8c02eb |
---|---|
5829 return mxDir | 5829 return mxDir |
5830 # backwards compatibility: search from path of this file | 5830 # backwards compatibility: search from path of this file |
5831 return _findPrimarySuiteMxDirFrom(dirname(__file__)) | 5831 return _findPrimarySuiteMxDirFrom(dirname(__file__)) |
5832 | 5832 |
5833 def main(): | 5833 def main(): |
5834 mxMxDir = _is_suite_dir(dirname(__file__)) | 5834 mxMxDir = _is_suite_dir(os.path.abspath(dirname(__file__))) |
5835 assert mxMxDir | 5835 assert mxMxDir |
5836 global _mx_suite | 5836 global _mx_suite |
5837 _mx_suite = _loadSuite(mxMxDir) | 5837 _mx_suite = _loadSuite(mxMxDir) |
5838 | 5838 |
5839 primarySuiteMxDir = _findPrimarySuiteMxDir() | 5839 primarySuiteMxDir = _findPrimarySuiteMxDir() |