Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update ghc to 9.4.7-5 #6

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
44 changes: 44 additions & 0 deletions .appveyor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Configure the environment
MSYSTEM=MINGW64
THREADS=9
SKIP_PERF_TESTS=YES
BUILD_FLAVOUR=
source /etc/profile || true # a terrible, terrible workaround for msys2 brokenness

# Don't set -e until after /etc/profile is sourced
set -ex
cd $APPVEYOR_BUILD_FOLDER

case "$1" in
"prepare")
# Prepare the tree
git config remote.origin.url git://github.com/ghc/ghc.git
git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/
git submodule init
git submodule --quiet update --recursive
;;
"build")
# Build the compiler
./boot
cat <<EOF >> mk/build.mk
BuildFlavour=$BUILD_FLAVOUR
ifneq "\$(BuildFlavour)" ""
include mk/flavours/\$(BuildFlavour).mk
endif
EOF
./configure --enable-tarballs-autodownload
make -j$THREADS
;;

"test")
make binary-dist
curl https://ghc-artifacts.s3.amazonaws.com/tools/ghc-artifact-collector-x86_64-windows --output ghc-artifact-collector
./ghc-artifact-collector *.tar.xz
make test THREADS=$THREADS
;;

*)
echo "$0: unknown mode $1"
exit 1
;;
esac
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# http://editorconfig.org

root = true

[*.hs]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
end_of_line = lf

[Makefile]
indent_style = tab
5 changes: 5 additions & 0 deletions .ghcid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--command sh ./hadrian/ghci
--reload compiler
--reload ghc
--reload includes
--restart hadrian/
23 changes: 23 additions & 0 deletions .git-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Configure git to ignore commits listed in this file with:
#
# git config blame.ignoreRevsFile .git-ignore-revs

# Module Hierarchy Renamings
af332442123878c1b61d236dce46418efcbe8750
255418da5d264fb2758bc70925adb2094f34adc3
1941ef4f050c0dfcb68229641fcbbde3a10f1072
528df8ecb4e2f9c78b1ae4ab7ff8230644e9b643
18a346a4b5a02b8c62e8eedb91b35c2d8e754b96
817f93eac4d13f680e8e3e7a25eb403b1864f82e
1b1067d14b656bbbfa7c47f156ec2700c9751549
240f5bf6f53515535be5bf3ef7632aa69ae21e3e
1500f0898e85316c7c97a2f759d83278a072ab0e
3ca52151881451ce5b3a7740d003e811b586140d
cf739945b8b28ff463dc44925348f20b3c1f22cb
da7f74797e8c322006eba385c9cbdce346dd1d43
6e2d9ee25bce06ae51d2f1cf8df4f7422106a383
d491a6795d507eabe35d8aec63c534d29f2d305b
99a9f51bf8207c79241fc0b685fadeb222a61292
eb6082358cdb5f271a8e4c74044a12f97352c52f
5119296440e6846c553c72b8a93afc5ecfa576f0
447864a94a1679b5b079e08bb7208a0005381cef
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# convert CRLF into LF on checkin
# don't convert anything on checkout
* text=auto eol=lf
mk/win32-tarballs.md5sum text=auto eol=LF
248 changes: 247 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,247 @@
.pc/
# -----------------------------------------------------------------------------
# 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
# Ignore _build, _validatebuild and any other custom build directories headed by _
_*
*/generated/
*/ghc-stage1
.shake.*
.hadrian_ghci
.hie-bios

# -----------------------------------------------------------------------------
# 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/
/linters/*/dist-install/
/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/MachRegs.h
/compiler/ghc-llvm-version.h
/compiler/ghc.cabal
/compiler/ghc.cabal.old
/distrib/configure.ac
/distrib/ghc.iss
/docs/man
/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/system-cxx-std-lib-1.0.conf
/mk/install.mk
/mk/project.mk
/mk/project.mk.old
/mk/validate.mk
/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.*
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
dist-newstyle/
Loading
Loading