Claude
Skills
Sign in
Back

mathlib-build

Included with Lifetime
$97 forever

Building Mathlib

General

What this skill does


# Building Mathlib

Fetch the Mathlib olean cache before build:

```bash
lake exe cache get
```

Use `lake exe cache get!` (with `!`) to force re-download if the cache appears corrupt.

When building Mathlib reduce verbosity to save on tokens:

```bash
lake build -q --log-level=info
```

For merge conflict resolution or small fixes build only the affected files: `lake build Mathlib.Foo.Bar -q --log-level=info`.
Often it is fine to leave a complete build to CI. If you need a thorough local build, use `lake build Mathlib MathlibTest Archive Counterexamples && lake exe runLinter`.

Files: 1
Size: 0.6 KB
Complexity: 2/100
Category: General

Related in General