-
-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Draft: Add POC for HLS loading multiple components on startup #2009
Conversation
cc @OliverMadine as this PR touches your GSoC afaict and takes care of haskell/hie-bios#269 |
so it could be converted to draft? |
Ah yes please, on gitlab the prefix works :/ |
Your CI appears to be blocked by #2016 |
@OliverMadine have you had a chance to test this PoC? @fendor have you played any further with this? |
Will expand on this soon, as s-b-i has changed significantly since this iteration. |
Somewhat but I haven't got anything working yet. @fendor Would it be possible to make a PR to just get everything in place for loading multiple components? I.e 'load a list of components' in HLS even if hie-bios only uses singleton lists for each component for the time being? I'm not sure how possible this is, I'm still looking over these PRs. |
Should be possible, what types do you care about? |
I'm suggesting we separate the work of 'loading multiple components' and 'getting multiple components to load' into different PRs. I should've been more clear since this is more than just getting types in place, but I guess it should include the changes to |
Powered by hie-bios.
f971c4c
to
77d1d3f
Compare
Surpassed by @wz1000's work |
What work do you mean? |
Afaik, wz1000 implemented multiple home units support for GHC 9.4 and has patches for cabal and hie-bios that need to be upstreamed eventually. In any way, this PR has aged quite a bit anyway. |
Powered by hie-bios.
A prototype implementation for loading multiple components on startup using the WIP hie-bios interface: haskell/hie-bios#301
The main feature is the usage of
cabal show-build-info
, from here: haskell/cabal#7478To test out this PR, you have to install the linked cabal executable from source.
NB: currently cabal only supports loading projects where the build-type is
Simple
.For debugging, take a look at the result of
cabal build all
in your project, which currently must succeed forshow-build-info
to succeed.