This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 09 Apr, 2017 2 commits
  2. 08 Apr, 2017 2 commits
    • Sergei Trofimovich's avatar
      cross-build 'unlit' and 'hp2ps' for stage2 install · ff84d052
      Sergei Trofimovich authored
      
      
      In navive build case it does not matter much if we build
      'unlit' and 'hp2ps' tools with ghc-stage0 or ghc-stage1:
      both GHCs are native compilers and both tools are written
      in C (have no haskell code).
      
      But in cross-case the difference is substantial:
      In Stag1Only=YES case we need to install native tools built
      by ghc-stage0/${host}-cc.
      In Stag1Only=NO  case we need to install cross-built tools
      built by ghc-stage1/${target}-cc.
      
      Before this change GHC did not have a rule to build cross-built
      'unlit' and 'hp2ps'.
      
      The change adds cross-built 'unlit' and 'hp2ps' as 'dist-install'
      targets.
      
      'inplace/lib/bin/unlit.bin' target is unchanged and still contains
      native binary.
      
      As a result this change allows cross-building and packaging whole
      GHC for target platform!
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      ff84d052
    • Sergei Trofimovich's avatar
      fix 'make install' for cross-stage2 · 54895c90
      Sergei Trofimovich authored
      
      
      When cross-built GHC is being installed one of
      latest steps is to register installed libraries
      with 'ghc-pkg'.
      
      GHC uses freshly installed 'ghc-pkg' and 'ghc-stage2'
      for that.
      
      Tested as:
          ./configure --target=aarch64-unknown-linux-gnu
          make install DESTDIR=$(pwd)/__s2 STRIP_CMD=:
      
      Before the change install failed on ghc-pkg execution phase:
      
          ".../ghc-cross/__s2/usr/local/lib/ghc-8.3.20170406/bin/ghc-pkg" \
              --force \
              --global-package-db \
              ".../ghc-cross/__s2/usr/local/lib/ghc-8.3.20170406/package.conf.d" \
              update rts/dist/package.conf.install
          /bin/sh: .../ghc-cross/__s2/usr/local/lib/ghc-8.3.20170406/bin/ghc-pkg: \
              No such file or directory
      
      To avoid breakage we use 'ghc' and 'ghc-pkg' built by stage0.
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      
      Test Plan: run 'make install' on stage2 crosscompiler
      
      Reviewers: rwbarton, austin, bgamari
      
      Subscribers: thomie, snowleopard
      
      Differential Revision: https://phabricator.haskell.org/D3432
      54895c90
  3. 07 Apr, 2017 1 commit
    • Simon Peyton Jones's avatar
      Do Note [Improving seq] always · f0d98fc6
      Simon Peyton Jones authored
      This patch fixes Trac #13468, and at the same time makes the
      code simpler and more uniform.  In particular, I've eliminated
      the awkward conflict between the old built-in rule for seq
      (which elimianted a cast), and the desire to make case scrutinse
      a data type by doing type-family reduction (which adds a cast).
      
      Nice.
      f0d98fc6
  4. 06 Apr, 2017 20 commits
  5. 05 Apr, 2017 12 commits
  6. 04 Apr, 2017 3 commits