Thank you, and a bzl module for building Linux Kernel Modules

1,041 views
Skip to first unread message

Shmuel H.

unread,
Mar 28, 2017, 5:32:15 PM3/28/17
to bazel-discuss
Hello you all,

First of all, I need to thank all the developers for this amazing build system. I've been searching for years a build system that match my requirements and would be simple to use for simple projects but also very flexible and programmable for more complicated projects. After trying and reading about all of matching inputs for the regex '[a-z]make', I found Bazel.

I just wanted to say thanks for this beautiful thing. It is simple to see how much effort you put to design and write it. I know that most of this project has been built by Google developers who have developed it as their job; However, it doesn't mean I can't thank you.

And about another topic, I wrote a pretty simple rule for Linux Kernel Modules compilation and linking. Is this the place to share these kind of scripts? or maybe there is another way?

Thank you,
Shmuel H.

P.S. I'm sorry if there is any grammar mistake in this message, I don't have a compiler that will throw me errors about invalid syntax so please correct me. Thanks.

Damien Martin-Guillerez

unread,
Mar 28, 2017, 5:39:56 PM3/28/17
to Shmuel H., bazel-discuss

Wow that's amazing :) you can just stage it on a git repository and share the URL here. We are thinking of having an online index of Skylark rules but we have not built it yet.


--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/36bc7317-6438-49c1-a2e8-3ec703e658c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

László Csomor

unread,
Mar 29, 2017, 2:33:48 AM3/29/17
to Damien Martin-Guillerez, Shmuel H., bazel-discuss
This email made my morning. Thank you for the kind words! I'm really happy that our work helps you.

Best,
Laszlo



--
László Csomor | Software Engineer | laszlo...@google.com

Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle

On Tue, Mar 28, 2017 at 11:39 PM, 'Damien Martin-Guillerez' via bazel-discuss <bazel-...@googlegroups.com> wrote:

Wow that's amazing :) you can just stage it on a git repository and share the URL here. We are thinking of having an online index of Skylark rules but we have not built it yet.

On Tue, Mar 28, 2017, 11:32 PM Shmuel H. <shmuel...@gmail.com> wrote:
Hello you all,

First of all, I need to thank all the developers for this amazing build system. I've been searching for years a build system that match my requirements and would be simple to use for simple projects but also very flexible and programmable for more complicated projects. After trying and reading about all of matching inputs for the regex '[a-z]make', I found Bazel.

I just wanted to say thanks for this beautiful thing.  It is simple to see how much effort you put to design and write it. I know that most of this project has been built by Google developers who have developed it as their job; However, it doesn't mean I can't thank you.

And about another topic, I wrote a pretty simple rule for Linux Kernel Modules compilation and linking. Is this the place to share these kind of scripts? or maybe there is another way?

Thank you,
Shmuel H.

P.S. I'm sorry if there is any grammar mistake in this message, I don't have a compiler that will throw me errors about invalid syntax so please correct me. Thanks.

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAN3hOS-CHb_QGZ%2B-PfjNs%3D2KmtYVUNzK3FcPTkMK_2P_XV9H%2BA%40mail.gmail.com.

杜秀涛

unread,
Mar 29, 2017, 4:36:48 AM3/29/17
to bazel-discuss
@Shmuel GREAT JOB! hope to hear more from you :)

rabin...@gmail.com

unread,
Sep 5, 2018, 7:01:23 AM9/5/18
to bazel-discuss
Shmuel, very curious about your rule to compile kernel modules using bazel -- have you shared it anywhere?

Best,
Rabin

anut...@gmail.com

unread,
Sep 9, 2018, 12:04:38 PM9/9/18
to bazel-discuss
I have not, it is a part of a bigger (currently dead) project. And you'll have to somehow apply the required compiler options to your libraries (otherwise, they won't work since the linux kernel uses a different call convention.

However, [here](https://gist.github.com/Reflexe/b78962a67277cfbddf6dd5ad56f22e67) is a snippet of the script. If I remember correctly, I've had a problem with this script (https://github.com/bazelbuild/bazel/issues/4912);

Thanks for your interest.
Reply all
Reply to author
Forward
0 new messages