Path: blob/master/doc/build-instructions/Build_Compiler_Only.md
5985 views
How to build only the Compiler component
Motivation
When developing on the compiler, developers very rarely need to build the entire JVM. Additionally, building only the compiler component is much faster than building the entire JVM. Therefore, this document outlines the process for speeding compiler development by only building the compiler component.
Note, this approach only works if the changes are limited to the compiler component; cross component work will require a full JVM rebuild.
Steps
First, build OpenJ9 as per the instructions in https://github.com/eclipse-openj9/openj9/tree/master/doc/build-instructions. Then, to build only the Compiler component, set up your environment as follows:
Then to build:
To clean: