Integrating Mull into a Bazel based project
Hello,
we are trying to include Mull into our project, which happens to be Bazel based. For doing that we need a BUILD.bazel file something similar to what googletest possesses, would be nice if there was some support for the same.
Hi @VinayDodamani, I somehow missed this issue, apologies for the delay 🙈 Do you have a good open source project in mind I can use as an example? I'd love to write a tutorial for this use case!
Hi @AlexDenisov thank you for your response, in my opinion the best project as an example would be the googletest https://github.com/google/googletest. Eagerly waiting for a bazel based Mull update. Thanks.
@AlexDenisov Do you had time to have a look into it? I think the first step would be to have a Bazel based build of mull, then it would be possible to build mull with the correct toolchain in a Bazel project.
Hi @PieterBunnenberg, I didn't have time to look into it yet. Admittedly, I didn't think of Bazel based build of Mull, that's certainly an interesting perspective. Can you share some more thoughts of how a perfect integration would look like? That's would be highly appreciated!
Hi @AlexDenisov, I am sorry for my late response. Sadly, I am not sure how a perfect integration would look like 😢. I will get in contact with my colleagues, I hope that I can come back with a solution. I still assume that we need a Bazel build of mull. This would allow us to build mull for our environment on the fly (LLVM 15 - Ubuntu 22.04).
Nether the less, I could try for now the prebuild mull package. Is it planned to provide that for Ubuntu 22.04 and LLVM15? I miss this in the latest release: https://github.com/mull-project/mull/releases/tag/0.21.0
@PieterBunnenberg I added Ubuntu 22.04 last night, the packages are now building, should be available in a couple of hours or so.
Hi @AlexDenisov, we figured out a way to use mull for bazel based projects after using the latest mull prebuild package, we would be more than happy to help documenting it, if it can help someone :)
That's a great news @VinayDodamani, congrats! If you can add a little tutorial here, that would be appreciated! Otherwise, you can share your learnings here and I'll convert them into a tutorial 🙌
Hi @AlexDenisov, we figured out a way to use mull for bazel based projects after using the latest mull prebuild package, we would be more than happy to help documenting it, if it can help someone :)
Would love to hear about that!
@VinayDodamani could you share your tutorial?