-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
I'm working on packaging FoundationDB for Exherbo, an source based Linux distribution. My goal is to create a package with multiples options(similar to USE flags in Gentoo), to allow developers to carefully choose what they need, for example:
- using the
clientoption will build theC API, - using the
serveroption will buildfdb{server,monitor,backup}), - using the
systemdoption will a systemd service, - using the
java-bindingsoption will build the java-bindings, - and so on...
Currently, when pulling the master branch, almost everything is build by default, resulting in a lot of compile time and needed dependencies why may not be necessary for the end user. The only dependencies that can be removed are:
Adding more cmake options will allow users to carefully select what they want to build. This will also lower compile time in certain cases and ease package creation.
I was thinking adding options to:
- the bindings,
- fdbclient,
- fdbserver,
- fdbcli,
- fdbmonitor/fdbservice,
- fdbbackup
Most of these bindings targets already have boolean, which can be easily exported as cmake options. I would like to do the same for binaries as well, to allow building only the C API for example.
The new options will have TRUE as a default for compatibility with the current builds.
Are you interested in such a contribution? May it also target the release-7.0 branch?