@@ -70,7 +70,7 @@ def CURLBIN :=
7070
7171/-- leantar version at https://github.com/digama0/leangz -/
7272def LEANTARVERSION :=
73- "0.1.16-pre2 "
73+ "0.1.16-pre3 "
7474
7575def EXE := if System.Platform.isWindows then ".exe" else ""
7676
@@ -311,18 +311,20 @@ def mkBuildPaths (mod : Name) : CacheM <| List (FilePath × Bool) := do
311311 return [
312312 -- Note that `packCache` below requires that the `.trace` file is first in this list.
313313 (packageDir / LIBDIR / path.withExtension "trace" , true ),
314+ -- Note: the `.olean`, `.olean.server`, `.olean.private` files must be consecutive,
315+ -- and in this order. The corresponding `.hash` files can come afterwards, in any order.
314316 (packageDir / LIBDIR / path.withExtension "olean" , true ),
317+ (packageDir / LIBDIR / path.withExtension "olean.server" , false ),
318+ (packageDir / LIBDIR / path.withExtension "olean.private" , false ),
315319 (packageDir / LIBDIR / path.withExtension "olean.hash" , true ),
320+ (packageDir / LIBDIR / path.withExtension "olean.server.hash" , false ),
321+ (packageDir / LIBDIR / path.withExtension "olean.private.hash" , false ),
316322 (packageDir / LIBDIR / path.withExtension "ilean" , true ),
317323 (packageDir / LIBDIR / path.withExtension "ilean.hash" , true ),
318324 (packageDir / IRDIR / path.withExtension "c" , true ),
319325 (packageDir / IRDIR / path.withExtension "c.hash" , true ),
320326 -- (packageDir / LIBDIR / path.withExtension "ir", true),
321327 -- (packageDir / LIBDIR / path.withExtension "ir.hash", true),
322- -- (packageDir / LIBDIR / path.withExtension "olean.private", false),
323- -- (packageDir / LIBDIR / path.withExtension "olean.private.hash", false),
324- -- (packageDir / LIBDIR / path.withExtension "olean.server", false),
325- -- (packageDir / LIBDIR / path.withExtension "olean.server.hash", false),
326328 (packageDir / LIBDIR / path.withExtension "extra" , false )]
327329
328330/-- Check that all required build files exist. -/
0 commit comments