Skip to content
Snippets Groups Projects
  1. Nov 01, 2023
  2. Oct 31, 2023
  3. Oct 28, 2023
  4. Oct 27, 2023
  5. Oct 26, 2023
  6. Oct 24, 2023
    • Cheng Shao's avatar
      testsuite: increase timeout of ghc-api tests for wasm32 · 07ab5cc1
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      ghc-api tests for wasm32 are more likely to timeout due to the large
      wasm module sizes, especially when testing with wasm native tail
      calls, given wasmtime's handling of tail call opcodes are suboptimal
      at the moment. It makes sense to increase timeout specifically for
      these tests on wasm32. This doesn't affect other targets, and for
      wasm32 we don't increase timeout for all tests, so not to risk letting
      major performance regressions slip through the testsuite.
      07ab5cc1
    • Josh Meredith's avatar
      4d075924
  7. Oct 23, 2023
  8. Oct 22, 2023
  9. Oct 20, 2023
  10. Oct 19, 2023
  11. Oct 18, 2023
  12. Oct 14, 2023
    • John Ericson's avatar
      Users Guide: Drop dead code for Haddock refs to `parallel` · 13d3c613
      John Ericson authored and Marge Bot's avatar Marge Bot committed
      I noticed while working on !11451 that `@LIBRARY_parallel_UNIT_ID@` was
      not substituted. It is dead code -- there is no `parallel-ref` usages
      and it doesn't look like there ever was (going back to
      3e5d0f18), so let's delete it.
      13d3c613
    • Ilias Tsitsimpis's avatar
      hadrian: Pass -DNOSMP to C compiler when needed · 257c2807
      Ilias Tsitsimpis authored and Marge Bot's avatar Marge Bot committed
      Hadrian passes the -DNOSMP flag to GHC when the target doesn't support
      SMP, but doesn't pass it to CC as well, leading to the following
      compilation error on mips64el:
      
      | Run Cc (FindCDependencies CDep) Stage1: rts/sm/NonMovingScav.c => _build/stage1/rts/build/c/sm/NonMovingScav.o.d
      Command line: /usr/bin/mips64el-linux-gnuabi64-gcc -E -MM -MG -MF _build/stage1/rts/build/c/hooks/FlagDefaults.thr_debug_p_o.d -MT _build/stage1/rts/build/c/hooks/FlagDefaults.o -Irts/include -I_build/stage1/rts/build -I_build/stage1/rts/build/include -Irts/include -x c rts/hooks/FlagDefaults.c -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Winline -Wpointer-arith -Wmissing-noreturn -Wnested-externs -Wredundant-decls -Wundef -fno-strict-aliasing -DTHREADED_RTS -DDEBUG -fomit-frame-pointer -O2 -g -Irts -I_build/stage1/rts/build -DDEBUG -fno-omit-frame-pointer -g3 -O0
      ===> Command failed with error code: 1
      In file included from rts/include/Stg.h:348,
                       from rts/include/Rts.h:38,
                       from rts/hooks/FlagDefaults.c:8:
      rts/include/stg/SMP.h:416:2: error: #error memory barriers unimplemented on this architecture
        416 | #error memory barriers unimplemented on this architecture
            |  ^~~~~
      rts/include/stg/SMP.h:440:2: error: #error memory barriers unimplemented on this architecture
        440 | #error memory barriers unimplemented on this architecture
            |  ^~~~~
      rts/include/stg/SMP.h:464:2: error: #error memory barriers unimplemented on this architecture
        464 | #error memory barriers unimplemented on this architecture
            |  ^~~~~
      
      The old make system correctly passed this flag to both GHC and CC [1].
      
      Fix this error by passing -DNOSMP to CC as well.
      
      [1] https://gitlab.haskell.org/ghc/ghc/-/blob/00920f176b0235d5bb52a8e054d89a664f8938fe/rts/ghc.mk#L407
      
      Closes #24082
      257c2807
Loading