I have a need to build an fdb binary with azure-backup support turned on and I am following instructions in two different repos. I am looking for a confirmation if I am on the right path.
The repo FoundationDB/fdb-build-support has instructions to build, but I am finding that some of the dockerfiles mentioned, such as foundationdb/codebuild doesn’t exist in the public Dockerhub.
Here is a complete working GitLab CI .gitlab-ci.yml example for building DEB packages that worked for me. You can take a look at image and sequence of commands if you use another build facility.
Then inside this docker, assuming the foundationdb source repo is at ${HOME}/src/foundationdb, then you can run either cmk (using gcc) or ccmk (using clang) to compile everything. The output will be inside ${HOME}/build_output directory.