Review Request: Build-infra M1
fredrik.ohrstrom at oracle.com
Tue Mar 27 08:04:55 PDT 2012
2012-03-27 16:39, Michael McMahon skrev:
> A few more things I'd like to understand are:
> 1) In what circumstances exactly would the configure script have to be
You run configure once to setup a particular build configuration.
After it is run, you only need to run make for the build configuration.
Rerunning configure on an already setup build configuration is not
If you want to tweak something (like different flags to compilers and
edit the generated spec.gmk file.
> 2) Can you give examples of the kind of build changes that would be
> needed :-
> - when a small'ish change is made (eg adding a couple of new
> source files, or renaming
> or removing them)?
Adding/removing source files does not require a rerun of configure.
> - when a new component is added, with both Java and native
> sources in new source directories
Adding an entire subdirectory of sources, more native source etc etc
does not require a rerun of configure.
Configure does not care about source code layout except where the
repositories are. It knows how to
find/download compilers/linkers/tools and create a spec.gmk file with
all the necessary variables
that encode this information. (For example:
CC,JDK_TOPDIR,OUTPUT_ROOT,ARCH etc etc)
More information about the build-dev