1 2 # Building HAT 3 4 ---- 5 6 * [Contents](hat-00.md) 7 * House Keeping 8 * [Project Layout](hat-01-01-project-layout.md) 9 * [Building Babylon](hat-01-02-building-babylon.md) 10 * [Maven and CMake](hat-01-03-maven-cmake.md) 11 * Programming Model 12 * [Programming Model](hat-03-programming-model.md) 13 * Interface Mapping 14 * [Interface Mapping Overview](hat-04-01-interface-mapping.md) 15 * [Cascade Interface Mapping](hat-04-02-cascade-interface-mapping.md) 16 * Implementation Detail 17 * [Walkthrough Of Accelerator.compute()](hat-accelerator-compute.md) 18 19 --- 20 21 # Building HAT 22 23 We use maven as the primary build tool, but we also required cmake to be available 24 as maven delegates to cmake to building native OpenCL/CUDA libs in the various backends. 25 26 Whilst the root level cmake `CMakeLists.txt` can create some java artifacts, it should not be 27 relied on, and will probably be 'deprecated soon' 28 29 To build with maven 30 31 ```bash 32 cd ${GITHUB}/babylon 33 mvn clean compile jar:jar install 34 ``` 35