sapling icon indicating copy to clipboard operation
sapling copied to clipboard

make install-oss rebuilds the entire project

Open williewillus opened this issue 3 years ago • 1 comments

Expectation

make oss produces the binaries, make install-oss puts them in the specified DESTDIR

Actual

make install-oss completely rebuilds the project even though make oss just built them

Repro: I've packaged this project in the Arch AUR here https://aur.archlinux.org/packages/sapling-scm The PKGBUILD performs a build by make PREFIX=/usr oss, then an install by make PREFIX=/usr DESTDIR="$pkgdir/" install-oss. In the install stage, the project is fully rebuilt instead of just being copied to the destination.

williewillus avatar Nov 16 '22 06:11 williewillus

Looks like make oss followed by make oss rebuilds the entire project too, so it looks like this isn't a case of "make oss and make install-oss use different caches", but "make is invalidating the caches every time it runs"?

shish avatar Nov 23 '22 01:11 shish