Hacker News new | ask | show | jobs
by 1718627440 276 days ago
Is there a way to do an out-of-tree build? I don't see it documented. Does it support DESTDIR?

The parallel build doesn't seem to work for me, not sure why.

2 comments

(using throwaway account, as I don't have any access to my main one from this machine)

For out-of-tree build, use KEFIR_BIN_DIR make parameter. I use it quite extensively in https://git.sr.ht/~jprotopopov/kefir/tree/master/item/script... so this should work.

DESTDIR is supported as a parameter of make install: https://git.sr.ht/~jprotopopov/kefir/tree/master/item/instal...

As for the parallel build issues, contact me over the email please

(I'll address the parallel build part in addition to what has been said, but please respond to my email address/sourcehut mailing list for any further communication on these issues).

I should have communicated this more clearly in README. Kefir requires relatively recent GNU Make versions (see dist/Dockerfile for full and complete set of dependencies), as it basically uses make for all project lifecycle tasks. I remember there were some parallel build issues with older GNU Make versions. This could be an issue.