]> git.ipfire.org Git - thirdparty/kmod.git/commit
meson: Stop rebuilding modules over and over
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 9 Sep 2024 13:33:35 +0000 (08:33 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 9 Sep 2024 16:05:54 +0000 (11:05 -0500)
commit5b082f6e0afca10481c7cce3585dfc39ef6beb17
treee00a0bc27e39e922ffd9c0b815af4ac3e5e76377
parentf6cffbbc26f71bfa7a91b003d3d6d4ff2f8f12f2
meson: Stop rebuilding modules over and over

Instead of removing the sources every time and rebuilding, just use
rsync to preserve the timestamps and allow Make to do its job of
rebuilding if it changed.

There's a bug in meson that keeps building the testsuite even outside of
`ninja test`, but if the build result is cached, we can greatly minimize
the impact for developers.

Closes: https://github.com/kmod-project/kmod/issues/119
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/121
.github/actions/setup-alpine/action.yml
.github/actions/setup-archlinux/action.yml
.github/actions/setup-debian/action.yml
.github/actions/setup-fedora/action.yml
.github/actions/setup-ubuntu/action.yml
README.md
scripts/setup-modules.sh