Skip to content

Add CI for the JS backend #291

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

Closed
hsyl20 opened this issue Jul 19, 2023 · 2 comments · Fixed by #337
Closed

Add CI for the JS backend #291

hsyl20 opened this issue Jul 19, 2023 · 2 comments · Fixed by #337

Comments

@hsyl20
Copy link
Contributor

hsyl20 commented Jul 19, 2023

Task: add CI for GHC's JS backend (starting with 9.8, it's too broken before that).

Motivation: see discussion in #285

Running the testsuite with the JS backend is tackled in #290

@hasufell
Copy link
Member

hasufell commented Jan 5, 2025

I've been trying this, but cabal gets stuck at Preprocessing library for unix-2.8.6.0. And then nothing.

I use GHC 9.10.0.20240413 and EMSDK 3.1.57.

@hasufell
Copy link
Member

hasufell commented Jan 5, 2025

Ah, it just took forever.

But running the test executable yields an error:

$ dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests                                       Sun 15:44
All
  Common
    fileExist01: uncaught exception in Haskell thread: ReferenceError: h$splitmix_init is not defined
ReferenceError: h$splitmix_init is not defined
    at h$$60762042 (/home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:179307:1)
    at h$runThreadSlice (/home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:14576:11)
    at h$runThreadSliceCatch (/home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:14548:12)
    at h$mainLoop (/home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:14543:9)
    at /home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:15004:13
    at h$handleErrnoC (/home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:8713:9)
    at /home/hasufell/git/unix/dist-newstyle/build/javascript-ghcjs/ghc-9.10.0.20240413/unix-2.8.6.0/build/unix-tests/unix-tests:7830:17
    at FSReqCallback.oncomplete (node:fs:187:23)

hasufell added a commit to hasufell/unix that referenced this issue Jan 5, 2025
@hasufell hasufell linked a pull request Jan 5, 2025 that will close this issue
1 task
hasufell added a commit to hasufell/unix that referenced this issue Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants