Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: lake: LEAN_GITHASH override #3609

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Mar 5, 2024

If the LEAN_GITHASH environment variable is set, Lake will now use it instead of the detected Lean's githash when computing traces for builds and the elaborated Lake configuration. This override allows one to replace the Lean version used by a library
(e.g., Mathlib) without completely rebuilding it, which is useful for testing custom builds of Lean.

@tydeu tydeu force-pushed the lake/githash-override branch from bfd6640 to c83f791 Compare March 5, 2024 21:05
@tydeu tydeu force-pushed the lake/githash-override branch from c83f791 to a360b50 Compare March 5, 2024 23:56
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Mar 6, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Mar 6, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Mar 6, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Mar 6, 2024

Mathlib CI status (docs):

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Mar 6, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Mar 6, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Mar 6, 2024
@tydeu tydeu added this pull request to the merge queue Mar 8, 2024
Merged via the queue into leanprover:master with commit 123dcb9 Mar 8, 2024
18 checks passed
@tydeu tydeu deleted the lake/githash-override branch March 8, 2024 20:56
rish987 pushed a commit to rish987/lean4 that referenced this pull request Mar 12, 2024
If the `LEAN_GITHASH` environment variable is set, Lake will now use it
instead of the detected Lean's githash when computing traces for builds
and the elaborated Lake configuration. This override allows one to
replace the Lean version used by a library
(e.g., Mathlib) without completely rebuilding it, which is useful for
testing custom builds of Lean.
rish987 pushed a commit to rish987/lean4 that referenced this pull request Mar 12, 2024
If the `LEAN_GITHASH` environment variable is set, Lake will now use it
instead of the detected Lean's githash when computing traces for builds
and the elaborated Lake configuration. This override allows one to
replace the Lean version used by a library
(e.g., Mathlib) without completely rebuilding it, which is useful for
testing custom builds of Lean.
rish987 pushed a commit to rish987/lean4 that referenced this pull request Mar 12, 2024
If the `LEAN_GITHASH` environment variable is set, Lake will now use it
instead of the detected Lean's githash when computing traces for builds
and the elaborated Lake configuration. This override allows one to
replace the Lean version used by a library
(e.g., Mathlib) without completely rebuilding it, which is useful for
testing custom builds of Lean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants