I just pushed the first example of a configure script

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Aug 26 05:22:24 PDT 2011


On 2011-08-26 13:51, David Holmes wrote:

> The scripts simply sets the desired environment variables such as:
>
> BUILD_HOTSPOT=true
> BUILD_JDK=true
> ...
> ALT_OUTPUTDIR=/my-local-filesystem/$BUILD/$OS-$ARCH
> cd ..
> make all

So they are all quite similair except for setting $OS and $ARCH (and 
$BUILD?) differently? Or do you have even more different configurations 
in them? So you might have like build-linux-ia32-without-smp.csh etc for 
stored typical special build configurations?

If not, is the reason for having multiple scripts (instead of like 
"build.csh linux-ia32") tab completion/imlicit syntax check? Or is there 
another reason?

> b00 is the build number - and yes it is arbitrary in this context. 
> linux-x represents $OS-$ARCH

Build number as in the latest official JDK build number, or as in 
somethink you increment (automatically?) every time you build?

> Have I captured the basics of your workflow correctly?
>
> Essentially yes.

Good. :)

/Magnus



More information about the build-infra-dev mailing list