Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 5.6k
    • Issues 5.6k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 663
    • Merge requests 663
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • 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
  • Wiki
  • Design
  • build system

build system · Changes

Page history
Edit Design/BuildSystem authored Nov 20, 2008 by ian@well-typed.com's avatar ian@well-typed.com
Hide whitespace changes
Inline Side-by-side
design/build-system.md
View page @ 62f2498c
......@@ -2,7 +2,12 @@
This page describes our current plan for making GHC's build system more
malleable.
malleable. The new build system will be developed in a branch here:
[ http://darcs.haskell.org/ghc-new-build-system/](http://darcs.haskell.org/ghc-new-build-system/)
but if you want to grab it then you would probably prefer to start from a
snapshot tarball:
[ http://darcs.haskell.org/ghc-new-build-system-2008-11-20-ghc-corelibs-testsuite.tar.bz2](http://darcs.haskell.org/ghc-new-build-system-2008-11-20-ghc-corelibs-testsuite.tar.bz2)
## Design goals
......@@ -286,6 +291,14 @@ libraries/%/ghc.mk: inplace/bin/ghc-cabal
> >
> > in the top-level Makefile.
- There are two ways that we could handle the generation. We could
generate the complete rules, as above, but that makes them harder to
edit (as you'd actually have to edit some Haskell source that generates
them). Alternatively, we could generate them with a little `$(eval ...)`
in the makefile. the downside of that is that it requires make \>= 3.80,
which msys doesn't come with. However, it looks like it is easy to
upgrade an msys installation, so that's the route that we plan to take.
- We don't want to require that the libraries ship part of the GHC build
system in their tarballs, so instead we will generate the GNUmakefile's
during ./configure.
......
Clone repository
  • Adventures in GHC compile times
  • All things layout
  • AndreasK
  • AndreasPK
  • Back End and Run Time System
  • Backpack refactoring
  • Backpack units
  • Brief Guide for Compiling GHC to iOS
  • Building GHC on Windows with Stack protector support (SSP) (using Make)
  • CAFs
  • CafInfo rework
  • Compiling Case Expressions in ghc
  • Compiling Data.Aeson Error
  • Contributing a Patch
  • Core interface section
View All Pages