Library dependencies

Tom Rodriguez tom.rodriguez at oracle.com
Wed Jan 25 04:31:14 UTC 2017



Andrew Haley wrote:
> I'm having a problem where I need to import a library into one of
> the AArch64 projects.  I can tell Eclipse to do this and Eclipse is
> happy, but it doesn't seem to work with "mx build".
>
> Is there something I need to do to tell mx that I have a new library
> dependency?

All dependencies have to be described in the suite.py file.  Do you 
really mean a new library or a new project?  I'm assuming you really 
project.  There are cross project dependencies described in the suite.py 
and it's reasonably self explanatory.  Are you update them, you have to 
rerun "mx ideinit" to regenerate the project files with the new project 
dependencies.  mx requires that the suite dependencies are canonically 
formed so it might complain and what you to rearrange them.  It should 
tell you what to do about it.  But if you are just adding a project 
dependency to some leaf project it's very easy.

tom

>
> Thanks,
>
> Andrew.


More information about the graal-dev mailing list