Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
9592 commits behind the upstream repository.
  • John Ericson's avatar
    7b67724b
    make build system: RTS should use dist-install not dist · 7b67724b
    John Ericson authored and Marge Bot's avatar Marge Bot committed
    This is the following find and replace:
    
     - `rts/dist` -> `rts/dist-install` # for paths
     - `rts_dist` -> `rts_dist-install` # for make rules and vars
     - `,dist` -> `,dist-install` # for make, just in rts/ghc.mk`
    
    Why do this? Does it matter when the RTS is just built once? The answer
    is, yes, I think it does, because I want the distdir--stage
    correspondence to be consistent.
    
    In particular, for #17191 and continuing from
    d5de970d I am going to make the headers
    (`rts/includes`) increasingly the responsibility of the RTS (hence their
    new location). However, those headers are current made for multiple
    stages. This will probably become unnecessary as work on #17191
    progresses and the compiler proper becomes more of a freestanding cabal
    package (e.g. a library that can be downloaded from Hackage and built
    without any autoconf). However, until that is finished, we have will
    transitional period where the RTS and headers need to agree on dirs for
    multiple stages.
    
    I know the make build system is going away, but it's not going yet, so I
    need to change it to unblock things :).
    7b67724b
    History
    make build system: RTS should use dist-install not dist
    John Ericson authored and Marge Bot's avatar Marge Bot committed
    This is the following find and replace:
    
     - `rts/dist` -> `rts/dist-install` # for paths
     - `rts_dist` -> `rts_dist-install` # for make rules and vars
     - `,dist` -> `,dist-install` # for make, just in rts/ghc.mk`
    
    Why do this? Does it matter when the RTS is just built once? The answer
    is, yes, I think it does, because I want the distdir--stage
    correspondence to be consistent.
    
    In particular, for #17191 and continuing from
    d5de970d I am going to make the headers
    (`rts/includes`) increasingly the responsibility of the RTS (hence their
    new location). However, those headers are current made for multiple
    stages. This will probably become unnecessary as work on #17191
    progresses and the compiler proper becomes more of a freestanding cabal
    package (e.g. a library that can be downloaded from Hackage and built
    without any autoconf). However, until that is finished, we have will
    transitional period where the RTS and headers need to agree on dirs for
    multiple stages.
    
    I know the make build system is going away, but it's not going yet, so I
    need to change it to unblock things :).
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitignore 4.84 KiB
# -----------------------------------------------------------------------------
# generic generated file patterns

Thumbs.db
.DS_Store

*~
*#
#*#
*.bak
*.BAK
*.orig
*.prof
*.rej
*.patch
*.stackdump

*.hi
*.hi-boot
*.o-boot
*.p_o
*.t_o
*.debug_o
*.thr_o
*.thr_p_o
*.thr_debug_o
*.o
*.a
*.o.cmd
*.depend*
*.dyn_o
*.dyn_hi
__pycache__
.mypy_cache
*.SYMDEF*

log
tags
TAGS

autom4te.cache
aclocal.m4
config.log
config.status
configure

# Temporarily generated configure files
confdefs.h

# Hadrian files
stage0
stage1
stage2
_build
_validatebuild
*/generated/
*/ghc-stage1
.shake.*
.hadrian_ghci

# -----------------------------------------------------------------------------
# Ignore any overlapped darcs repos and back up files

*-darcs-backup*
_darcs/

# -----------------------------------------------------------------------------
# sub-repositories

/ghc-tarballs/

# -----------------------------------------------------------------------------
# Cabal dist directories

/driver/ghc/dist/
/driver/haddock/dist/
/driver/ghci/dist/
/libffi/dist-install/
/libraries/*/dist-boot/
/libraries/*/dist-install/
/libraries/*/dist-newstyle/
/libraries/dist-haddock/
/rts/dist-install/
/rts/include/dist/
/rts/include/dist-*/
/utils/*/dist*/
/compiler/stage1/
/compiler/stage2/
/compiler/stage3/
/ghc/stage1/
/ghc/stage2/
/ghc/stage3/
/utils/iserv/stage2*/

# -----------------------------------------------------------------------------
# specific generated files

/bindist-list
/bindist-list.uniq
/bindistprep/
/bindisttest/HelloWorld
/bindisttest/
/bootstrapping/
/ch01.html
/ch02.html
/compiler/dist/
/compiler/Bytecodes.h
/compiler/ClosureTypes.h
/compiler/FunTypes.h
/compiler/MachDeps.h
/compiler/MachRegs.h
/compiler/ghc.cabal
/compiler/ghc.cabal.old
/distrib/configure.ac
/distrib/ghc.iss
/docs/man
/docs/index.html
/docs/users_guide/.log
/docs/users_guide/users_guide
/docs/users_guide/ghc.1
/docs/users_guide/flags.pyc
/docs/users_guide/ghc_config.py
/docs/users_guide/ghc_config.pyc
/docs/users_guide/users_guide.pdf
/docs/users_guide/build-html
/docs/users_guide/build-pdf
/docs/users_guide/build-man
/docs/users_guide/.doctrees-*
/docs/users_guide/.doctrees/
/docs/users_guide/ghc_packages.pyc
/docs/users_guide/utils.pyc
/driver/ghci/ghc-pkg-inplace
/driver/ghci/ghci-inplace
/driver/ghci/ghci-wrapper.cabal
/driver/ghci/ghci.res
/driver/ghci/cwrapper.c
/driver/ghci/cwrapper.h
/driver/ghci/getLocation.c
/driver/ghci/getLocation.h
/driver/ghci/isMinTTY.c
/driver/ghci/isMinTTY.h
/driver/package.conf
/driver/package.conf.inplace.old
/settings
/ghc.spec
/ghc/ghc-bin.cabal
/index.html
/inplace/
/libffi/build/
/libffi/ffi.h
/libffi/package.conf.inplace
/libffi/package.conf.inplace.raw
/libffi/stamp*
/libffi/package.conf.install
/libffi/package.conf.install.raw
/libraries/bootstrapping.conf
/libraries/prologue.txt
/libraries/doc-index*.html
/libraries/frames.html
/libraries/ghc-boot/GNUmakefile
/libraries/ghc-boot/ghc-boot.cabal
/libraries/ghc-boot-th/GNUmakefile
/libraries/ghc-boot-th/ghc-boot-th.cabal
/libraries/ghc-boot-th/ghc.mk
/libraries/ghc-heap/ghc-heap.cabal
/libraries/ghci/GNUmakefile
/libraries/ghci/ghci.cabal
/libraries/ghci/ghc.mk
/libraries/haddock-util.js
/libraries/hslogo-16.png
/libraries/index-frames.html
/libraries/index.html
/libraries/libiserv/libiserv.cabal
/libraries/minus.gif
/libraries/ocean.css
/libraries/plus.gif
/libraries/synopsis.png
/libraries/stamp/
/libraries/template-haskell/template-haskell.cabal
/linter.log
/mk/are-validating.mk
/mk/build.mk
/mk/config.h
/mk/config.h.in
/mk/config.mk
/mk/config.mk.old
/mk/install.mk
/mk/project.mk
/mk/project.mk.old
/mk/validate.mk
/rts/include/dist/
/rts/rts.cabal
/rts/package.conf.inplace
/rts/package.conf.inplace.raw
/rts/package.conf.install
/rts/package.conf.install.raw
/stage3.package.conf
/testsuite_summary*.txt
/testsuite*.xml
/testlog*
/utils/iserv/iserv.cabal
/utils/iserv-proxy/iserv-proxy.cabal
/utils/remote-iserv/remote-iserv.cabal
/utils/mkUserGuidePart/mkUserGuidePart.cabal
/utils/runghc/runghc.cabal
/utils/gen-dll/gen-dll.cabal
/utils/ghc-pkg/ghc-pkg.cabal
utils/lndir/fs.*
utils/unlit/fs.*
rts/fs.*
libraries/base/include/fs.h
libraries/base/cbits/fs.c
missing-win32-tarballs

/extra-gcc-opts
/sdistprep

.tm_properties
VERSION
GIT_COMMIT_ID

# -------------------------------------------------------------------------------------
# when using a docker image, one can mount the source code directory as the home folder
# -------------------------------------------------------------------------------------
.arcrc
.ghc
.bash_history
.gitconfig

# Should be equal to testdir_suffix from testsuite/driver/testlib.py.
*.run

# -----------------------------------------------------------------------------
# ghc.nix
ghc.nix/

# gdb
.gdb_history
.gdbinit

# -----------------------------------------------------------------------------
# Tooling

# direnv
.envrc

# Visual Studio Code
.vscode

# Tooling - ghcide
*.hiedb

# clangd
.clangd