Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 21790:6db6070d30b9
Make jvmci.make stable; add header for building the jvmci.make; default to use the jvmci.make file when running mx.build
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Fri, 05 Jun 2015 16:28:19 +0200 |
parents | d013bb1cbf9f |
children | fe0d57a9b79b |
comparison
equal
deleted
inserted
replaced
21789:5b9adb645217 | 21790:6db6070d30b9 |
---|---|
142 | 142 |
143 def add_update_listener(self, listener): | 143 def add_update_listener(self, listener): |
144 self.update_listeners.add(listener) | 144 self.update_listeners.add(listener) |
145 | 145 |
146 def get_dist_deps(self, includeSelf=True, transitive=False): | 146 def get_dist_deps(self, includeSelf=True, transitive=False): |
147 deps = set() | 147 deps = [] |
148 if includeSelf: | 148 if includeSelf: |
149 deps.add(self) | 149 deps.append(self) |
150 deps.update([distribution(name) for name in self.distDependencies]) | 150 for name in self.distDependencies: |
151 dist = distribution(name) | |
152 if dist not in deps: | |
153 deps.append(dist) | |
151 if transitive: | 154 if transitive: |
152 for depName in self.distDependencies: | 155 for depName in self.distDependencies: |
153 deps.update(distribution(depName).get_dist_deps(False, False)) | 156 for recDep in distribution(depName).get_dist_deps(False, True): |
157 if recDep not in deps: | |
158 deps.append(recDep) | |
154 return list(deps) | 159 return list(deps) |
155 | 160 |
156 """ | 161 """ |
157 Gets the directory in which the IDE project configuration | 162 Gets the directory in which the IDE project configuration |
158 for this distribution is generated. If this is a distribution | 163 for this distribution is generated. If this is a distribution |