|
The C branch uses the `make` tool to build a simple C program with several compilers. As in the [Python example](python-example), we will make heavy use of the `ligo/software` image as a build environment.
|
|
The C branch uses the `make` tool to build a simple C program with several compilers. As in the [Python example](example-python), we will make heavy use of the `ligo/software` image as a build environment.
|
|
We'll make additional use of `ccache` to reuse `*.o` object files from previous builds when the C code has not changed. This particular example is so simple, it doesn't actually produce `.o` files, but ccache does significantly decrease build time for more complex software. You must include sections like this in your build to take advantage of `ccache`.
|
|
We'll make additional use of `ccache` to reuse `*.o` object files from previous builds when the C code has not changed. This particular example is so simple, it doesn't actually produce `.o` files, but ccache does significantly decrease build time for more complex software. You must include sections like this in your build to take advantage of `ccache`.
|