-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlakefile.lean
More file actions
53 lines (43 loc) · 1.08 KB
/
lakefile.lean
File metadata and controls
53 lines (43 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import Lake
open Lake DSL
package runtime_safety_kernels where
srcDir := "src"
-- Dependency pinning for reproducible builds.
require mathlib from git "https://github.com/leanprover-community/mathlib4" @ "v4.8.0"
@[default_target]
lean_lib RuntimeSafetyKernels {
roots := #[`RuntimeSafetyKernels]
}
-- C extraction target
lean_exe sampler_c {
root := `RuntimeSafetyKernels.Sampler.Extract
supportInterpreter := true
}
-- Rust extraction target
lean_exe concurrency_rust {
root := `RuntimeSafetyKernels.Concurrency.Extract
supportInterpreter := true
}
-- Policy extraction target
lean_exe policy_c {
root := `RuntimeSafetyKernels.Policy.Extract
supportInterpreter := true
}
-- Tensor extraction target
lean_exe tensor_c {
root := `RuntimeSafetyKernels.Shape.Extract
supportInterpreter := true
}
-- Test targets
lean_exe tests {
root := `RuntimeSafetyKernels.Tests
supportInterpreter := true
}
lean_exe fuzz {
root := `RuntimeSafetyKernels.Fuzz
supportInterpreter := true
}
lean_exe benchmarks {
root := `RuntimeSafetyKernels.Benchmarks
supportInterpreter := true
}