-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues with CMake dependency handling #359
Comments
OK, LLVM15 is available on my system after all, so updating that isn't that important for now after all. There are some code changes required for LLVM16, like:
and
|
Thanks for trying! I'll go through the bits you mentioned then say what I think will be the best solutions.
We can (and should) update this. We run at the head of RocksDB internally, so should always be compatible. I've updated it.
Yeah, this is a pain. As you say in the follow up it almost always requires code changes to support a different version of LLVM. It's not impossible though, as https://github.com/iovisor/bpftrace/ manages it. We'll have a chat and see if we can devote a bit more effort to supporting more than one version. The downside is the one we're not using would be poorly tested, but this code rarely breaks so it should be okay. As you say later, a lot of distros package multiple versions of the LLVM libs, but this still isn't ideal.
I can explain some of the thought process behind this, though I've lost a little with time. We used to have several submodules but switched all but There's also the rocksdb build chaos. Not entirely sure why it invokes CMake separately but trying to swap it to a normal build failed due to flags for me. This should be fixed at some point. Everything that one can expect to find on all distros has been left as a system dependency. My view of the way forward here is to add @ajor @ttreyer feel free to chime in on this bit.
I think changing msgpack to
I think we would still tend toward
Done. Thanks for pointing this out! I put it on the latest tagged version which should work.
I think adding
Mentioned above.
Yeah! I appreciate the discussion first, but we should definitely move in the direction of easier builds for external contributors. Thanks for your patience and initiative to start working on it. As an aside, I've been working on a Nix flake to make this easier for people to get started with. Including |
Hey all,
I'm trying to build OI on arch and run into a lot of trouble.
I have workarounded all of these issues locally now, and would like to clean things up a bit upstream. But for that I would need to know what your constraints are.
My suggestion would be:
find_package
for more dependencies. all of the following are covered by system packages on arch:Would you be OK with patches going in direction?
The text was updated successfully, but these errors were encountered: