-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haskell.compiler.ghcHEAD: get JS backend to work #208879
Comments
This is probably blocked on #194634, as the JS backend requires llvm/llvm-project@2368f18. |
Thanks! Should something like
work in theory now? I get these strange errors, as if the build doesn’t include all the necessary files:
|
@nomeata Interesting! We should find out if it is possible to build “dynamic” js objects or not with the JS backend – if not, we simply need to disable building shared objects for the js backend in |
@nomeata We get further with #217168, but then hit llvm/llvm-project#60949. |
@nomeata The JS backend can only build executables at the moment: https://gitlab.haskell.org/ghc/ghc/-/issues/23235#note_491474 |
ghcHEAD
(and the to be released GHC 9.6) have a JS backend that will replaceghcjs
. We should get it to work in order to be able to get rid of the burdensomeghcjs
8.10.7. Ideally we can do this via the already existingpkgsCross.ghcjs
infrastructure, but emscripten is proving to be a little annoying, so it may not be entirely possible.Upstream build instructions.
The text was updated successfully, but these errors were encountered: