@@ -53,7 +53,7 @@ The facet which builds all of a module's dependencies
53
53
Returns the list of shared libraries to load along with their search path.
54
54
-/
55
55
abbrev Module.depsFacet := `deps
56
- module_data deps : Job ( SearchPath × Array FilePath)
56
+ module_data deps : SearchPath × Array FilePath
57
57
58
58
/--
59
59
The core build facet of a Lean file.
@@ -62,58 +62,58 @@ of the module (i.e., `olean`, `ilean`, `c`).
62
62
Its trace just includes its dependencies.
63
63
-/
64
64
abbrev Module.leanArtsFacet := `leanArts
65
- module_data leanArts : Job Unit
65
+ module_data leanArts : Unit
66
66
67
67
/-- The `olean` file produced by `lean`. -/
68
68
abbrev Module.oleanFacet := `olean
69
- module_data olean : Job FilePath
69
+ module_data olean : FilePath
70
70
71
71
/-- The `ilean` file produced by `lean`. -/
72
72
abbrev Module.ileanFacet := `ilean
73
- module_data ilean : Job FilePath
73
+ module_data ilean : FilePath
74
74
75
75
/-- The C file built from the Lean file via `lean`. -/
76
76
abbrev Module.cFacet := `c
77
- module_data c : Job FilePath
77
+ module_data c : FilePath
78
78
79
79
/-- The LLVM BC file built from the Lean file via `lean`. -/
80
80
abbrev Module.bcFacet := `bc
81
- module_data bc : Job FilePath
81
+ module_data bc : FilePath
82
82
83
83
/--
84
84
The object file `.c.o` built from `c`.
85
85
On Windows, this is `c.o.noexport`, on other systems it is `c.o.export`).
86
86
-/
87
87
abbrev Module.coFacet := `c.o
88
- module_data c.o : Job FilePath
88
+ module_data c.o : FilePath
89
89
90
90
/-- The object file `.c.o.export` built from `c` (with `-DLEAN_EXPORTING`). -/
91
91
abbrev Module.coExportFacet := `c.o.export
92
- module_data c.o.export : Job FilePath
92
+ module_data c.o.export : FilePath
93
93
94
94
/-- The object file `.c.o.noexport` built from `c` (without `-DLEAN_EXPORTING`). -/
95
95
abbrev Module.coNoExportFacet := `c.o.noexport
96
- module_data c.o.noexport : Job FilePath
96
+ module_data c.o.noexport : FilePath
97
97
98
98
/-- The object file `.bc.o` built from `bc`. -/
99
99
abbrev Module.bcoFacet := `bc.o
100
- module_data bc.o : Job FilePath
100
+ module_data bc.o : FilePath
101
101
102
102
/--
103
103
The object file built from `c`/`bc`.
104
104
On Windows with the C backend, no Lean symbols are exported.
105
105
On every other configuration, symbols are exported.
106
106
-/
107
107
abbrev Module.oFacet := `o
108
- module_data o : Job FilePath
108
+ module_data o : FilePath
109
109
110
110
/-- The object file built from `c`/`bc` (with Lean symbols exported). -/
111
111
abbrev Module.oExportFacet := `o.export
112
- module_data o.export : Job FilePath
112
+ module_data o.export : FilePath
113
113
114
114
/-- The object file built from `c`/`bc` (without Lean symbols exported). -/
115
115
abbrev Module.oNoExportFacet := `o.noexport
116
- module_data o.noexport : Job FilePath
116
+ module_data o.noexport : FilePath
117
117
118
118
119
119
/-! ## Package Facets -/
@@ -123,35 +123,35 @@ A package's *optional* cached build archive (e.g., from Reservoir or GitHub).
123
123
Will NOT cause the whole build to fail if the archive cannot be fetched.
124
124
-/
125
125
abbrev Package.optBuildCacheFacet := `optCache
126
- package_data optCache : Job Bool
126
+ package_data optCache : Bool
127
127
128
128
/--
129
129
A package's cached build archive (e.g., from Reservoir or GitHub).
130
130
Will cause the whole build to fail if the archive cannot be fetched.
131
131
-/
132
132
abbrev Package.buildCacheFacet := `cache
133
- package_data cache : Job Unit
133
+ package_data cache : Unit
134
134
135
135
/--
136
136
A package's *optional* build archive from Reservoir.
137
137
Will NOT cause the whole build to fail if the barrel cannot be fetched.
138
138
-/
139
139
abbrev Package.optReservoirBarrelFacet := `optBarrel
140
- package_data optBarrel : Job Bool
140
+ package_data optBarrel : Bool
141
141
142
142
/--
143
143
A package's Reservoir build archive from Reservoir.
144
144
Will cause the whole build to fail if the barrel cannot be fetched.
145
145
-/
146
146
abbrev Package.reservoirBarrelFacet := `barrel
147
- package_data barrel : Job Unit
147
+ package_data barrel : Unit
148
148
149
149
/--
150
150
A package's *optional* build archive from a GitHub release.
151
151
Will NOT cause the whole build to fail if the release cannot be fetched.
152
152
-/
153
153
abbrev Package.optGitHubReleaseFacet := `optRelease
154
- package_data optRelease : Job Bool
154
+ package_data optRelease : Bool
155
155
156
156
@[deprecated optGitHubReleaseFacet (since := "2024-09-27")]
157
157
abbrev Package.optReleaseFacet := optGitHubReleaseFacet
@@ -161,49 +161,49 @@ A package's build archive from a GitHub release.
161
161
Will cause the whole build to fail if the release cannot be fetched.
162
162
-/
163
163
abbrev Package.gitHubReleaseFacet := `release
164
- package_data release : Job Unit
164
+ package_data release : Unit
165
165
166
166
@[deprecated gitHubReleaseFacet (since := "2024-09-27")]
167
167
abbrev Package.releaseFacet := gitHubReleaseFacet
168
168
169
169
/-- A package's `extraDepTargets` mixed with its transitive dependencies'. -/
170
170
abbrev Package.extraDepFacet := `extraDep
171
- package_data extraDep : Job Unit
171
+ package_data extraDep : Unit
172
172
173
173
/-! ## Target Facets -/
174
174
175
175
/-- A Lean library's Lean artifacts (i.e., `olean`, `ilean`, `c`). -/
176
176
abbrev LeanLib.leanArtsFacet := `leanArts
177
- library_data leanArts : Job Unit
177
+ library_data leanArts : Unit
178
178
179
179
/-- A Lean library's static artifact. -/
180
180
abbrev LeanLib.staticFacet := `static
181
- library_data static : Job FilePath
181
+ library_data static : FilePath
182
182
183
183
/-- A Lean library's static artifact (with exported symbols). -/
184
184
abbrev LeanLib.staticExportFacet := `static.export
185
- library_data static.export : Job FilePath
185
+ library_data static.export : FilePath
186
186
187
187
/-- A Lean library's shared artifact. -/
188
188
abbrev LeanLib.sharedFacet := `shared
189
- library_data shared : Job FilePath
189
+ library_data shared : FilePath
190
190
191
191
/-- A Lean library's `extraDepTargets` mixed with its package's. -/
192
192
abbrev LeanLib.extraDepFacet := `extraDep
193
- library_data extraDep : Job Unit
193
+ library_data extraDep : Unit
194
194
195
195
/-- A Lean binary executable. -/
196
196
abbrev LeanExe.exeFacet := `leanExe
197
- target_data leanExe : Job FilePath
197
+ target_data leanExe : FilePath
198
198
199
199
/-- A external library's static binary. -/
200
200
abbrev ExternLib.staticFacet := `externLib.static
201
- target_data externLib.static : Job FilePath
201
+ target_data externLib.static : FilePath
202
202
203
203
/-- A external library's shared binary. -/
204
204
abbrev ExternLib.sharedFacet := `externLib.shared
205
- target_data externLib.shared : Job FilePath
205
+ target_data externLib.shared : FilePath
206
206
207
207
/-- A external library's dynlib. -/
208
208
abbrev ExternLib.dynlibFacet := `externLib.dynlib
209
- target_data externLib.dynlib : Job Dynlib
209
+ target_data externLib.dynlib : Dynlib
0 commit comments