leanprover / leanprover/lean4

allow building lean4 with a system mimalloc shared library?

Open
#11,777 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

I would like to build lean4 for Fedora with mimalloc, however currently lean4 builds mimalloc from git source.
Instead I would like to be able to use the Fedora mimalloc package.

Could it be possible to use a shared system library for this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the Lean 4 build configuration that fetches and builds mimalloc, then inspect how external libraries are selected. Done means Fedora's shared mimalloc package can be used instead of building mimalloc from git, with the existing build still working.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.