rules_julia 0.8.0Latest published 1.2mo ago
MODULE.bazel
bazel_dep(name = "rules_julia", version = "0.8.0")
README

rules_julia

This repository implements Bazel rules for the Julia programming language.

Why rules_julia

rules_julia builds ordinary Julia packages. The Project.toml and src/Foo.jl layout stays as it is, and dependencies come from the same Manifest.toml that Pkg writes. What it adds over Pkg and PackageCompiler is what Bazel adds to any language:

  • Shared, cached precompilation. Pkg keeps precompile caches in each machine's depot, so every laptop and fresh CI runner rebuilds them. Here precompilation is a Bazel action, cached by its inputs and shareable through a remote cache.
  • Hermetic builds. Toolchains, packages, and BinaryBuilder artifacts are fetched by checksum from a lockfile, with no Pkg, no deps/build.jl, and no ~/.julia involved.
  • Incremental system images and binaries. PackageCompiler rebuilds from scratch every time. julia_sysimage and julia_standalone_binary are ordinary targets, rebuilt only when their inputs change.
  • Explicit Julia versions. Each Julia minor version gets its own manifest and toolchain, selected with a build setting.
  • One build graph. In a repository that already uses Bazel, Julia code builds and tests alongside everything else, and unchanged tests are not rerun.

For a standalone Julia package, Pkg on its own may be all that is needed.

Documentation

Documentation can be found at https://periareon.github.io/rules_julia/.

About

Bazel rules for the Julia programming language.

@periareon/rules_julia@periareon
Homepage
4stars
Thursday, October 15, 2026
@periareon-bot#11110 rules_julia@0.8.0 (#11110)

Languages

Julia25.2%
Python1.9%
Shell0.8%
Smarty0.8%

Maintainers

@sputt
@abrisco

Versions

0.8.0 +1d2026-10-15
0.7.0 +5d2026-10-13
0.6.0 +6.3mo2026-10-08
0.5.0 +24d2026-04-02
0.4.0 +2.2mo2026-03-08
0.3.0 +28d2025-12-31
0.2.0 +23d2025-12-02
0.1.0 +4d2025-11-08
0.0.12025-11-04