Skip to content

feat: add basic bazel module#12

Draft
wiomoc wants to merge 8 commits intoocx-sh:mainfrom
wiomoc:feature/initial-bazel-support
Draft

feat: add basic bazel module#12
wiomoc wants to merge 8 commits intoocx-sh:mainfrom
wiomoc:feature/initial-bazel-support

Conversation

@wiomoc
Copy link
Copy Markdown

@wiomoc wiomoc commented Mar 17, 2026

No description provided.

@wiomoc wiomoc force-pushed the feature/initial-bazel-support branch from 934dda9 to 3b23e72 Compare March 17, 2026 23:19
@wiomoc wiomoc force-pushed the feature/initial-bazel-support branch 11 times, most recently from ff0c998 to 403c59c Compare March 18, 2026 01:26
@wiomoc wiomoc force-pushed the feature/initial-bazel-support branch from 403c59c to 48674f2 Compare March 18, 2026 01:28
@wiomoc wiomoc force-pushed the feature/initial-bazel-support branch 4 times, most recently from 0227e10 to 33886e4 Compare March 19, 2026 23:03
@wiomoc wiomoc force-pushed the feature/initial-bazel-support branch from 33886e4 to 4a5e40d Compare March 19, 2026 23:09
@michael-herwig
Copy link
Copy Markdown
Contributor

@wiomoc I was wondering if we should move the bazel rules into its' own repository. I suggest bazel-ocx. Further, regarding a compiler package, would ziglang be a good starter? Maybe sccache as well?

@wiomoc
Copy link
Copy Markdown
Author

wiomoc commented Mar 27, 2026

I was wondering if we should move the bazel rules into its' own repository.

I think that would make the most sense in the long run; I’d already had that in mind - but for the first draft, the repo seemed like the most seemed approach to me. Feel free to create an extra repo for this

Further, regarding a compiler package, would ziglang be a good starter?

The Zig compiler can be used for both Zig and C (as a Clang frontend). As for the former, we can certainly tackle that; it seems fairly straightforward when I look at rules_zig. For C, however, more complex steps are apparently required, which is why I would postpone that for now.

sscache

i don't see any usecase why one should use sscache inside bazel

I would also consider the Bazel module's API to be unstable for now, since additional features in OCX might make it necessary to redesign the API again - I am thinking of layers or dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants