building langtools (extension of partial builds)

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Sep 18 09:49:43 PDT 2012


On 09/18/2012 08:48 AM, Fredrik Öhrström wrote:
> 2012/9/18 Jonathan Gibbons <jonathan.gibbons at oracle.com>:
>> Build-infra folk,
>>
>> I see the top level common/makefiles/Makefile has a "langtools" target, and
>> langtools/makefiles/Makefile looks like it will do something useful, so if
>> I'm in a langtools repo, and have a full tl forest somewhere else, what are
>> the steps to configure and build my langtools repo?
> sh ../autoconf/configure --with-override-langtools=/home/jon/somewhere/langtools
> make langtools
>
> //Fredrik

For the record, this worked for me:

( mkdir -p build.new ; cd build.new ; sh 
/w/jjg/work/tl/common/autoconf/configure --with-override-langtools=$(cd 
.. ; pwd) )

followed by

make -f build.new/Makefile  langtools


FWIW, it works well enough, but it does more than I need as a langtools 
developer. I just need what is now builld/langtools/classes in this new 
world; I don't need the *.{jar,zip} files to be created/updated, with 
the exception of the bootstrap javac.  And, because everything channels 
through the top level makefile, there appears to be no easy way to build 
interim targets in langtools/makefiles/Makefile, is that right?

-- Jon



More information about the build-infra-dev mailing list