Bazel build
Set up a bazel build for symforce. This may include:
- being able to build symforce standalone
- being able to include symforce as a
local_repository(and friends) in a larger bazel build
Hey Aaron, I'm starting to use symforce with bazel and have developed some internal rules to simplify the process of generating cc_libraries. Is there interest in contributing these rules back upstream?
Would definitely be interested personally!
Yeah we're interested! Feel free to go ahead and make a PR
@aaron-skydio what's your preference between me doing this in a separate repo like rules_symforce vs making a PR directly to the symforce repo which would require me adding some bazel boiler plate?
I should also note that I'm currently grabbing symforce via PyPI in bazel. So adding bazel files directly to the symforce repo and then grabbing it from PyPI is a little bit awkward.
Let me put this up as a talking point. Its very simple but is generally what I am aiming for.
https://github.com/matte1/rules_symforce
One thing to note is that I would like to include eigen as a dependency so that its easy to compile the auto-generated code.