Skip to content
Snippets Groups Projects
  1. Feb 08, 2023
    • Sylvain Henry's avatar
      JS: replace "js" architecture with "javascript" · bafa3899
      Sylvain Henry authored
      
      Despite Cabal supporting any architecture name, `cabal --check` only
      supports a few built-in ones. Sadly `cabal --check` is used by Hackage
      hence using any non built-in name in a package (e.g. `arch(js)`) is
      rejected and the package is prevented from being uploaded on Hackage.
      
      Luckily built-in support for the `javascript` architecture was added for
      GHCJS a while ago. In order to allow newer `base` to be uploaded on
      Hackage we make the switch from `js` to `javascript` architecture.
      
      Fixes #22740.
      
      Co-authored-by: default avatarBen Gamari <ben@smart-cactus.org>
      (cherry picked from commit 6636b670)
      bafa3899
  2. Jan 28, 2023
  3. Jan 27, 2023
  4. Jan 26, 2023
  5. Jan 25, 2023
  6. Jan 17, 2023
  7. Jan 10, 2023
  8. Jan 07, 2023
    • Matthew Pickering's avatar
      Disable split sections on aarch64-deb10 build · 80601b0e
      Matthew Pickering authored
      See #22722
      
      Failure on this job:
      
      https://gitlab.haskell.org/ghc/ghc/-/jobs/1287852
      
      ```
      Unexpected failures:
         /builds/ghc/ghc/tmp/ghctest-s3d8g1hj/test   spaces/testsuite/tests/th/T10828.run  T10828 [exit code non-0] (ext-interp)
         /builds/ghc/ghc/tmp/ghctest-s3d8g1hj/test   spaces/testsuite/tests/th/T13123.run  T13123 [exit code non-0] (ext-interp)
         /builds/ghc/ghc/tmp/ghctest-s3d8g1hj/test   spaces/testsuite/tests/th/T20590.run  T20590 [exit code non-0] (ext-interp)
      Appending 232 stats to file: /builds/ghc/ghc/performance-metrics.tsv
      ```
      
      ```
      Compile failed (exit code 1) errors were:
      data family D_0 a_1 :: * -> *
      data instance D_0 GHC.Types.Int GHC.Types.Bool :: * where
          DInt_2 :: D_0 GHC.Types.Int GHC.Types.Bool
      data E_3 where MkE_4 :: a_5 -> E_3
      data Foo_6 a_7 b_8 where
          MkFoo_9, MkFoo'_10 :: a_11 -> Foo_6 a_11 b_12
      newtype Bar_13 :: * -> GHC.Types.Bool -> * where
          MkBar_14 :: a_15 -> Bar_13 a_15 b_16
      data T10828.T (a_0 :: *) where
          T10828.MkT :: forall (a_1 :: *) . a_1 -> a_1 -> T10828.T a_1
          T10828.MkC :: forall (a_2 :: *) (b_3 :: *) . (GHC.Types.~) a_2
                                                                     GHC.Types.Int => {T10828.foo :: a_2,
                                                                                       T10828.bar :: b_3} -> T10828.T GHC.Types.Int
      T10828.hs:1:1: error: [GHC-87897]
          Exception when trying to run compile-time code:
            ghc-iserv terminated (-4)
          Code: (do TyConI dec <- runQ $ reify (mkName "T")
                    runIO $ putStrLn (pprint dec) >> hFlush stdout
                    d <- runQ
                           $ [d| data T' a :: Type
                                   where
                                     MkT' :: a -> a -> T' a
                                     MkC' :: forall a b. (a ~ Int) => {foo :: a, bar :: b} -> T' Int |]
                    runIO $ putStrLn (pprint d) >> hFlush stdout
                    ....)
      *** unexpected failure for T10828(ext-interp)
      =====> 7000 of 9215 [0, 1, 0]
      =====> 7000 of 9215 [0, 1, 0]
      =====> 7000 of 9215 [0, 1, 0]
      =====> 7000 of 9215 [0, 1, 0]
      Compile failed (exit code 1) errors were:
      T13123.hs:1:1: error: [GHC-87897]
          Exception when trying to run compile-time code:
            ghc-iserv terminated (-4)
          Code: ([d| data GADT
                       where MkGADT :: forall k proxy (a :: k). proxy a -> GADT |])
      *** unexpected failure for T13123(ext-interp)
      =====> 7100 of 9215 [0, 2, 0]
      =====> 7100 of 9215 [0, 2, 0]
      =====> 7200 of 9215 [0, 2, 0]
      Compile failed (exit code 1) errors were:
      T20590.hs:1:1: error: [GHC-87897]
          Exception when trying to run compile-time code:
            ghc-iserv terminated (-4)
          Code: ([d| data T where MkT :: forall a. a -> T |])
      *** unexpected failure for T20590(ext-interp)
      ```
      
      Looks fairly worrying to me.
      80601b0e
  9. Jan 06, 2023
  10. Dec 21, 2022
  11. Dec 17, 2022
  12. Dec 09, 2022
    • Matthew Pickering's avatar
      ci: Add job for testing interface stability across builds · 0a76d7d4
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      The idea is that both the bindists should product libraries with the
      same ABI and interface hash.
      So the job checks with ghc-pkg to make sure the computed ABI
      is the same.
      
      In future this job can be extended to check for the other facets of
      interface determinism.
      
      Fixes #22180
      0a76d7d4
    • Matthew Pickering's avatar
      ci: Add job to test interface file determinism guarantees · 5d0a311f
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      In this job we can run on every commit we add a test which builds the
      Cabal library twice and checks that the ABI hash and interface hash is
      stable across the two builds.
      
      * We run the test 20 times to try to weed out any race conditions due to
        `-j`
      * We run the builds in different temporary directories to try to weed
        out anything related to build directory affecting ABI or interface
        file hash.
      
      Fixes #22180
      5d0a311f
  13. Dec 01, 2022
    • Bryan R's avatar
      CI: Fix CI lint · d82992fd
      Bryan R authored and Marge Bot's avatar Marge Bot committed
      Failure was introduced by conflicting changes to gen_ci.hs that did
      *not* trigger git conflicts.
      d82992fd
    • Bryan R's avatar
      CI: Remove ARMv7 jobs · c5d1bf29
      Bryan R authored and Marge Bot's avatar Marge Bot committed
      These jobs fail (and are allowed to fail) nearly every time.
      
      Soon they won't even be able to run at all, as we won't currently have
      runners that can run them.
      
      Fixing the latter problem is tracked in #22409.
      
      I went ahead and removed all settings and configurations.
      c5d1bf29
    • M Farkas-Dyck's avatar
      CI: Forbid the fully static build on Alpine to fail. · 81eeec7f
      M Farkas-Dyck authored and Marge Bot's avatar Marge Bot committed
      To do so, we mark some tests broken in this configuration.
      81eeec7f
  14. Nov 29, 2022
  15. Nov 11, 2022
    • Cheng Shao's avatar
      ci: add a stronger test for cross bindists · d8262fdc
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      This commit adds a simple GHC API program that parses and reprints the
      original hello world program used for basic testing of cross bindists.
      Before there's full cross-compilation support in the test suite
      driver, this provides better coverage than the original test.
      d8262fdc
  16. Sep 29, 2022
  17. Sep 14, 2022
    • Matthew Pickering's avatar
      Remove stage1:exe:ghc-bin pre-build from CI script · c4438347
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      CI builds stage1:exe:ghc-bin before the binary-dist target which
      introduces some quite bad linearisation (see #22093) because we don't
      build stage1 compiler in parallel with anything. Then when the
      binary-dist target is started we have to build stage1:exe:ghc-pkg before
      doing anything.
      
      Fixes #22094
      c4438347
  18. Sep 12, 2022
Loading