diff options
author | Alad Wenter | 2022-02-24 12:50:14 +0100 |
---|---|---|
committer | Alad Wenter | 2022-02-24 12:50:14 +0100 |
commit | e2b09ff11b8f19757a0f296e3fcb2dcc5bffda35 (patch) | |
tree | e6d3c05c7a1a31d24504dbfc35e4f1bec4d93b7f /aurutils.changelog | |
parent | e0bb24d63fbb076226ceeea0ffefc5cb75481a25 (diff) | |
download | aur-e2b09ff11b8f19757a0f296e3fcb2dcc5bffda35.tar.gz |
aurutils: 7
Diffstat (limited to 'aurutils.changelog')
-rw-r--r-- | aurutils.changelog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/aurutils.changelog b/aurutils.changelog index 73c36d6abe51..116a97841935 100644 --- a/aurutils.changelog +++ b/aurutils.changelog @@ -1,3 +1,25 @@ +## 7 + +This release adds optional support for the `ninja` build system. If the +`AUR_SYNC_USE_NINJA` environment variable is set to a positive value, +`aur-sync` will generate `build.ninja` where each target has an `aur-build` +command-line. This allows to continue building a series of packages when +several failed, with the maximum of failed targets controlled by the `-k` / +`--keep-going` option. On failure, a summary of successful ("OK") and failed +("FAIL") package builds is printed. The `--no-build` option in turn only +generates `build.ninja`, and prints the corresponding directory to `stdout`. + +The logic to generate `build.ninja` files is exposed in the `aur-sync--ninja` +script. It can be used with other `aur` programs that output `pkgbase +depends_pkgbase` pairs, for example: + + $ aur depends --graph "$@" | aur sync--ninja "$PWD" -- aur build + +When running `ninja` on the resulting file, each successfully built `pkgbase` +will result in a `pkgbase.stamp` file. If the corresponding `PKGBUILD` is +modified, it will be marked for rebuilding by `ninja`. This can for example be +used for a git repository which hosts multiple `PKGBUILD` directories. + ## 6.4 * `aur-depends` |