-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to lakefile.toml (#396)
With Lean 4.8 we now can use toml for the lakefile (which is the preferred variant now), so this PR migrates our build to toml. --------- Co-authored-by: Tobias Grosser <[email protected]>
- Loading branch information
1 parent
cb95e52
commit b064c26
Showing
3 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set -o xtrace | ||
set -e | ||
lake -R exe cache get # load mathlib from cache | ||
lake -R -Kdoc=on build SSA:docs | ||
lake -R build SSA:docs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name = "SSA" | ||
defaultTargets = ["SSA"] | ||
|
||
[[require]] | ||
name = "mathlib" | ||
git = "https://github.com/leanprover-community/mathlib4" | ||
rev = "nightly-testing-2024-07-05" | ||
|
||
[[require]] | ||
name = "Cli" | ||
git = "https://github.com/mhuisi/lean4-cli.git" | ||
rev = "nightly" | ||
|
||
[[require]] | ||
name = "doc-gen4" | ||
git = "https://github.com/leanprover/doc-gen4" | ||
rev = "main" | ||
|
||
[[lean_lib]] | ||
name = "SSA" | ||
|
||
[[lean_lib]] | ||
name = "AliveExamples" | ||
roots = ["SSA.Projects.InstCombine.AliveAutoGenerated"] | ||
|
||
[[lean_lib]] | ||
name = "AliveScaling" | ||
roots = ["SSA.Projects.InstCombine.ScalingTest"] | ||
|
||
[[lean_exe]] | ||
name = "mlirnatural" | ||
root = "SSA.MLIRNatural" | ||
|
||
[[lean_exe]] | ||
name = "opt" | ||
root = "SSA.Projects.InstCombine.LLVM.Opt" | ||
supportInterpreter = true | ||
|
||
[[lean_exe]] | ||
name = "ssaLLVMEnumerator" | ||
root = "SSA.Projects.InstCombine.LLVM.Enumerator" |