commit | 3e6c016ad04449e1bc8e9dea77550f1a3b3ab6fd | [log] [tgz] |
---|---|---|
author | lberki <[email protected]> | Tue Jun 08 13:34:41 2021 +0200 |
committer | GitHub <[email protected]> | Tue Jun 08 13:34:41 2021 +0200 |
tree | 07c55893c896c983964fc14be4124cb1465396bd | |
parent | 737ff8b179ac109c80a11c42a40c4c157a4c078b [diff] | |
parent | a8ca5d35306a48a81de9939925327de2f948c5eb [diff] |
Merge pull request #227 from metti/sse4_fixes strutil: replace SSE4 specialization with libc call
kati is an experimental GNU make clone. The main goal of this tool is to speed-up incremental build of Android.
Currently, kati does not offer a faster build by itself. It instead converts your Makefile to a ninja file.
Building:
$ make ckati
The above command produces a ckati
binary in the project root.
Testing (best ran in a Ubuntu 18.04 environment):
$ make test $ go test --ckati $ go test --ckati --ninja $ go test --ckati --ninja --all
The above commands run all cKati and Ninja tests in the testcases/
directory.
Alternatively, you can also run the tests in a Docker container in a prepared test enviroment:
$ docker build -t kati-test . && docker run kati-test
For Android-N+, ckati and ninja is used automatically. There is a prebuilt checked in under prebuilts/build-tools that is used.
All Android's build commands (m, mmm, mmma, etc.) should just work.