Thoughts on adding Conan support? #8704
mattyoung101
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Compile commands is identified in #8586 and will be addressed. The GUI is not as hermetic as I would like but that is also something that can either be solved or a very minimal set of apt commands would be required (much less than the current dependency installer). I don't see us changing course from bazel to conan. There are a number of benefits to Bazel (caching, remote builds, etc) that are not matched by Conan. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been doing some experiments recently to try and get OpenROAD building using Conan, a popular C++ package manager.
This started because, as someone who uses a rolling release distro (Arch), the system packages change frequently and break very frequently; particularly for spdlog/fmt.
I'm aware of the Bazel build, and have in fact used it and tinkered with it a lot, but it has issues:
compile_commands.jsonout of it which makes OpenROAD dev really hard. There are a few options available, but they are either broken entirely as a tool, or produce compile_commands that are broken and don't cooperate with clangd.libxml2in order to compile the GUI. Maybe, perhaps, the GUI build is not hermetic?Anyway, this is a long-ish project that I'm tinkering away at. I need to upgrade and port a number of packages and get them into the Conan Central repo, mainly: or-tools, coin-cbc and cudd. I'm putting up a PR for coin-cbc soon, and will then have to tackle or-tools next which is quite challenging.
The end result would be just a single file:
conanfile.txt, that includes dependency info; and possibly a docs update to indicate it's experimentally supported building with Conan.Basically, I'm just asking now to see what the likelihood of getting this through a PR would be, and if there's any interest from the community and contributors. thanks!
Beta Was this translation helpful? Give feedback.
All reactions