Skip to content
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

Integrating Mull into a Bazel based project #1018

Open
VinayDodamani opened this issue Jan 17, 2023 · 10 comments
Open

Integrating Mull into a Bazel based project #1018

VinayDodamani opened this issue Jan 17, 2023 · 10 comments

Comments

@VinayDodamani
Copy link

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.

@AlexDenisov
Copy link
Member

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!

@VinayDodamani
Copy link
Author

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.

@PieterBunnenberg
Copy link

@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.

@AlexDenisov
Copy link
Member

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!

@PieterBunnenberg
Copy link

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

@AlexDenisov
Copy link
Member

@PieterBunnenberg I added Ubuntu 22.04 last night, the packages are now building, should be available in a couple of hours or so.

@VinayDodamani
Copy link
Author

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 :)

@AlexDenisov
Copy link
Member

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 🙌

@m42e
Copy link
Contributor

m42e commented Jul 18, 2023

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!

@m42e
Copy link
Contributor

m42e commented Jul 18, 2024

@VinayDodamani could you share your tutorial?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants