@@ -70,7 +70,7 @@ def CURLBIN :=
7070
7171/-- leantar version at https://github.com/digama0/leangz -/
7272def LEANTARVERSION :=
73- "0.1.15 "
73+ "0.1.16-pre3 "
7474
7575def EXE := if System.Platform.isWindows then ".exe" else ""
7676
@@ -90,7 +90,7 @@ def getLeanTar : IO String := do
9090/-- Bump this number to invalidate the cache, in case the existing hashing inputs are insufficient.
9191It is not a global counter, and can be reset to 0 as long as the lean githash or lake manifest has
9292changed since the last time this counter was touched. -/
93- def rootHashGeneration : UInt64 := 0
93+ def rootHashGeneration : UInt64 := 1
9494
9595/--
9696`CacheM` stores the following information:
@@ -311,12 +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 ),
326+ -- (packageDir / LIBDIR / path.withExtension "ir", true),
327+ -- (packageDir / LIBDIR / path.withExtension "ir.hash", true),
320328 (packageDir / LIBDIR / path.withExtension "extra" , false )]
321329
322330/-- Check that all required build files exist. -/
0 commit comments