# \#bazel

**URL:** https://discuss.ocaml.org/tag/bazel/526.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] The OBazl Toolsuite 3.0.0.beta.1](https://discuss.ocaml.org/t/ann-the-obazl-toolsuite-3-0-0-beta-1/16407)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 9\
**Last updated:** [April 2, 2025, 8:35am UTC](https://discuss.ocaml.org/t/ann-the-obazl-toolsuite-3-0-0-beta-1/16407 "2025-04-02T08:35:58Z")

</div>

The OBazl Toolsuite 3.0.0.beta.1 is now available. The OBazl Toolsuite is a collection of rules & tools that support OCaml development using Bazel. To get started: $ git clone https://github.com/obazl/demo\_hello.git $ …

---

## [OBazl Toolsuite - tools for building OCaml with Bazel](https://discuss.ocaml.org/t/obazl-toolsuite-tools-for-building-ocaml-with-bazel/10021)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 50\
**Last updated:** [March 30, 2025, 6:36pm UTC](https://discuss.ocaml.org/t/obazl-toolsuite-tools-for-building-ocaml-with-bazel/10021 "2025-03-30T18:36:32Z")

</div>

Version 2 of OBazl, a Bazel ruleset for building OCaml code, will soon be available. I’m letting you know early because I’ll be giving a presentation about the OBazl Toolsuite for the Bazel Exchange conference next Wed,…

---

## [Help wanted: make ppx\_expect bazel-friendly](https://discuss.ocaml.org/t/help-wanted-make-ppx-expect-bazel-friendly/16230)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 8\
**Last updated:** [March 6, 2025, 12:47pm UTC](https://discuss.ocaml.org/t/help-wanted-make-ppx-expect-bazel-friendly/16230 "2025-03-06T12:47:42Z")

</div>

I just discovered that ppx\_expect expects that source files are located in the directory from which the test runner was launched. That is never the case under Bazel. I can’t think of a workaround; I suspect the only solu…

---

## [OCamlCC: Bazel-enabled OCaml Toolchain (new alpha release)](https://discuss.ocaml.org/t/ocamlcc-bazel-enabled-ocaml-toolchain-new-alpha-release/11145)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 8\
**Last updated:** [January 12, 2023, 7:15am UTC](https://discuss.ocaml.org/t/ocamlcc-bazel-enabled-ocaml-toolchain-new-alpha-release/11145 "2023-01-12T07:15:13Z")

</div>

Hi folks. A new alpha version of OCamlCC, the Bazel-enabled version of the OCaml repository, is now available. This version includes many major changes and improvements. Highlights: All the compilers are buildable u…

---

## [Status update: Bazel-enabled OCaml toolchain](https://discuss.ocaml.org/t/status-update-bazel-enabled-ocaml-toolchain/10892)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 8\
**Last updated:** [December 2, 2022, 1:08pm UTC](https://discuss.ocaml.org/t/status-update-bazel-enabled-ocaml-toolchain/10892 "2022-12-02T13:08:02Z")

</div>

https://github.com/obazl-repository/ocamlcc From the readme: New name: ocamlcc - the OCaml Compiler Collection. Analogous to GCC, the GNU Compiler Collection. Not only do we have multiple compilers - ocamlc.byte, oca…

---

## [\[ANN\] Building the OCaml Toolchain with Bazel - PoC](https://discuss.ocaml.org/t/ann-building-the-ocaml-toolchain-with-bazel-poc/10776)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 7\
**Last updated:** [November 10, 2022, 3:41pm UTC](https://discuss.ocaml.org/t/ann-building-the-ocaml-toolchain-with-bazel-poc/10776 "2022-11-10T15:41:48Z")

</div>

I’m inordinately pleased to announce that a Proof-of-Concept Bazel build of the OCaml compilers and tools (latest trunk version) is available for testing and exploration. Tested on MacOS 12.6 and Ubuntu 20.04.5 LTS. It i…

---

## [Jsoo + Google Closure tools](https://discuss.ocaml.org/t/jsoo-google-closure-tools/10542)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 12:52pm UTC](https://discuss.ocaml.org/t/jsoo-google-closure-tools/10542 "2022-09-28T12:52:33Z")

</div>

I’m looking for information about using Js\_of\_ocaml with Google’s Closure compiler and tools. I tried using the latter to compile some of the test code from Jsoo but it throws tons of “could not determine type of this e…

---

## [Toolchain- and buildtask-specific options](https://discuss.ocaml.org/t/toolchain-and-buildtask-specific-options/10408)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 4\
**Last updated:** [August 30, 2022, 7:30pm UTC](https://discuss.ocaml.org/t/toolchain-and-buildtask-specific-options/10408 "2022-08-30T19:30:43Z")

</div>

I’m refining the granularity of toolchain and build task support in OBazl. In particular, precise control over flags and options. There are three basic build tasks (compile, archive, and link executable); some options …

---

## [OBazl 2.0.0-alpha-1 (Building OCaml SW with Bazel)](https://discuss.ocaml.org/t/obazl-2-0-0-alpha-1-building-ocaml-sw-with-bazel/10142)

<div class="topic-metadata">

**Author:** [@mobileink](https://discuss.ocaml.org/u/mobileink)\
**Replies:** 0\
**Last updated:** [July 7, 2022, 6:41pm UTC](https://discuss.ocaml.org/t/obazl-2-0-0-alpha-1-building-ocaml-sw-with-bazel/10142 "2022-07-07T18:41:10Z")

</div>

I’ve tagged alpha versions of OBazl rules\_ocaml and tools\_opam. The best way to start exploring is via demos\_obazl, which contains over 100 mostly simple demo/test programs, many of which are commented. Three simple co…
