-
Notifications
You must be signed in to change notification settings - Fork 37
Build Profiling and Dynamic Ways for libraries #626
Comments
I tried doing this but this is not working. |
@angerman @alpmestan @snowleopard I have made some changes and obtained promising results.
|
Currently, atleast 60% of erros show tis error message. I am stuck at where to go with it. |
@chitrak7 @alpmestan Perhaps, there should be a special |
But still, by changing the context of libraries, these ways should be built. But it is not.
This is how I modified the rule for libraries needed. But still dynamic ways were not supported. |
I'm copying my comment in one of the PRs here:
|
Is this really addressed yet? I don't think so. |
Oops, I think this got auto-closed when merging the PR. |
@alpmestan @angerman I still couldn't figure out how Hadrian makes flags while running cabal. I believe that the flags are built based on the flavor supplied and not depending on the package context, causing errors. |
Have you taken a look at |
@alpmestan Yes, I did. I made some changes in this file in #628 also. But they didn't seem to work. |
I need some more details to be able to help you out here. Could you perhaps isolate those changes and show us the patch, telling us what did not work as expected? |
@alpmestan Isn't this just dead code? We got rid of the dependency on |
I doubt that hadrian/src/Hadrian/Haskell/Cabal/Parse.hs Lines 118 to 160 in f319243
In general the |
@angerman I think we should drop the |
Well, we could rename So we won't be able to flatten both. |
Yes, we won't be able to flatten expressions, but I don't think we need a separate builder. Anyway, I will look into this -- this has been on my todo list for a while. |
@alpmestan This is how I tried to change the code for GhcCabal. Earlier, it would only look at flavour ways, but I added contextWay option as well. Looks like unfortunately this is not working.
@snowleopard We are only using GhcCabal once, that too only to compute args. It is better to remove the builder and make args separately. Will certainly reduce the confusion. Should I create an issue for this? |
@chitrak7 Yes, I think the removal of |
The issue with |
I believe this has been fixed. |
We need Profiling and Dynamic Ways to pass validation. These ways are required for ghci, base and rts.
@snowleopard @alpmestan
The text was updated successfully, but these errors were encountered: