Skip to content

Commit 9278d72

Browse files
[GR-19245] Make CAPIProject depend on SULONG_MANAGED_HOME if necessary.
PullRequest: graalpython/717
2 parents a80312d + 039182a commit 9278d72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,8 @@ class GraalpythonCAPIProject(mx.Project):
12561256
def __init__(self, suite, name, subDir, srcDirs, deps, workingSets, d, theLicense=None, **kwargs):
12571257
context = 'project ' + name
12581258
self.buildDependencies = mx.Suite._pop_list(kwargs, 'buildDependencies', context)
1259+
if mx.suite("sulong-managed", fatalIfMissing=False) is not None:
1260+
self.buildDependencies.append('sulong-managed:SULONG_MANAGED_HOME')
12591261
super(GraalpythonCAPIProject, self).__init__(suite, name, subDir, srcDirs, deps, workingSets, d, theLicense, **kwargs)
12601262

12611263
def getOutput(self, replaceVar=mx_subst.results_substitutions):

0 commit comments

Comments
 (0)