[Haskell-cafe] Crossreferenced codebase for Stackage LTS 9.2 available

Michael Snoyman michael at snoyman.com
Thu Aug 31 14:06:13 UTC 2017


It looks like it should be using the same method of installing GHC
(Herbert's PPA). I'm not sure what you mean by hijacking the GHC executable
though.

On Thu, Aug 31, 2017 at 3:27 PM, Robin Palotai <palotai.robin at gmail.com>
wrote:

> I used fpco/stack-build:lts-9.2. Might explain, thank you!
> Is the GHC directory layout the same in snoyberg/stackage? Just asking
> since the derived container hijacks the GHC executable for the indexer.
>
> 2017-08-31 14:18 GMT+02:00 Michael Snoyman <michael at snoyman.com>:
>
>> Which Docker image did you use for building? The (inappropriately named
>> but hysterical raisins and all that) snoyberg/stackage Docker images are
>> what we use for doing the actual Stackage builds.
>>
>> On Thu, Aug 31, 2017, 2:37 PM Robin Palotai <palotai.robin at gmail.com>
>> wrote:
>>
>>> Hi Niklas - sounds like a nice usecase.
>>>
>>> Though we need to make sure no usages are missing to make that decision
>>> (there are some edge cases yet, for example around TH splice application,
>>> or type families). Also it's only valid on the set of indexed packages.
>>>
>>> I'll merge later, but https://github.com/robinp/hask
>>> ell-indexer/commit/0592c3d934515c4661c69c5b998e26a543b93b52 has the
>>> changes necessary. Note:
>>> - It didn't index ~50 packages
>>> - For some it complained that C libs are missing (like SDL, though I was
>>> using the full stack-build Docker image)
>>> - I had to kill a few huge compilations that ate my RAM (Agda,
>>> language-python, and some yi packages)
>>>
>>> I would estimate 8-12 hours, but didn't follow closely (also it was
>>> idling quite some due to the huge compilations).
>>>
>>> By the way the per-package entries are available for download in a
>>> tarball, so if you just index your local packages and dump the entries
>>> along with those of your dependencies into the graphstore, you can get a
>>> ~full local index without reexecuting the whole indexing. In the future it
>>> would be nice to have tooling that magically fetches the pre-generated
>>> entries you need, and merges them locally.
>>>
>>> 2017-08-31 13:23 GMT+02:00 Niklas Hambüchen <mail at nh2.me>:
>>>
>>>> Hey Robin,
>>>>
>>>> This is really awesome and useful.
>>>>
>>>> I think it will help a lot to decide whether or not we can
>>>> change/deprecate a certain function, as now we can really easily judge
>>>> how many callers it has.
>>>>
>>>> How long does that take to generate?
>>>> And how did you run it to do it for all of Stackage?
>>>>
>>>> Thanks!
>>>>
>>>> On 31/08/17 06:41, Robin Palotai wrote:
>>>> > To find out who else uses your favorite functions and
>>>> > how: http://stuff.codereview.me/lts/9.2 .
>>>>
>>>
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> To (un)subscribe, modify options or view archives go to:
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>> Only members subscribed via the mailman list are allowed to post.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170831/342016ce/attachment.html>


More information about the Haskell-Cafe mailing list