github / semantic

Parsing, analyzing, and comparing source code across many languages
8.94k stars 454 forks source link

Add stackage_snapshot.json lockfile to save build time. #610

Closed patrickt closed 3 years ago

patrickt commented 4 years ago

Thanks to https://github.com/tweag/rules_haskell/pull/1376, we can now tell rules_haskell to save a snapshot of all Stackage dependencies, which means that rules_haskell itself has to invoke stack far less often, and that we can cache Stackage downloads.

patrickt commented 4 years ago

Looks like this does—builds are now under 4 minutes for Bazel—but I’m going to wait until #607 lands, as this requires a full rebuild.

patrickt commented 3 years ago

Doing this in #624 because we just bumped rules_haskell anyway.