Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,357
    • Issues 5,357
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 566
    • Merge requests 566
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Merge requests
  • !5965

Reinstallable lib:GHC

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Zubin requested to merge wip/reinstallable into master Jun 13, 2021
  • Overview 48
  • Commits 2
  • Pipelines 88
  • Changes 33

We can avoid the need for a configure script for ghc by using the headers shipped along with the rts package, as obtained using ghc-pkg field rts include-dirs.

This is OK since we will only support reinstalling the same version of GHC as has been originally installed. Also, a reinstallable rts is not presently in scope.

For cross compilation purposes, ghc-pkg field rts ... just needs to point to the rts library for the target platform.

TODO:

  • upload deriveConstants and genprimopcode to hackage
  • Use bundled rts includes instead of a relative include to ../includes/rts/... in GHC.
Edited Feb 17, 2022 by Matthew Pickering
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/reinstallable