Skip to content

feat: lake: input dependencies#7703

Merged
tydeu merged 7 commits intoleanprover:masterfrom
tydeu:lake/input-deps
Mar 28, 2025
Merged

feat: lake: input dependencies#7703
tydeu merged 7 commits intoleanprover:masterfrom
tydeu:lake/input-deps

Conversation

@tydeu
Copy link
Member

@tydeu tydeu commented Mar 28, 2025

This PR adds input_file and input_dir as new target types. It also adds the needs configuration option for Lean libraries and executables. This option generalizes extraDepTargets (which will be deprecated in the future), providing much richer support for declaring dependencies across package and target type boundaries.

Closes #2761.

@tydeu tydeu added the changelog-lake Lake label Mar 28, 2025
@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 28, 2025
@ghost
Copy link

ghost commented Mar 28, 2025

Mathlib CI status (docs):

  • ❗ Mathlib CI can not be attempted yet, as the nightly-testing-2025-03-27 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-mathlib, Mathlib CI should run now. You can force Mathlib CI using the force-mathlib-ci label. (2025-03-28 05:19:05)

@tydeu tydeu added release-ci Enable all CI checks for a PR, like is done for releases and removed release-ci Enable all CI checks for a PR, like is done for releases labels Mar 28, 2025
@tydeu tydeu marked this pull request as ready for review March 28, 2025 19:29
@tydeu tydeu enabled auto-merge March 28, 2025 19:32
@tydeu tydeu added this pull request to the merge queue Mar 28, 2025
Merged via the queue into leanprover:master with commit 2d28331 Mar 28, 2025
16 checks passed
@tydeu tydeu deleted the lake/input-deps branch March 28, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-lake Lake 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.

Support directory dependencies

1 participant