Zubin pushed to branch wip/9.10.3-backports at Glasgow Haskell Compiler / GHC
Commits:
-
e7df6f9f
by Teo Camarasu at 2025-09-05T16:57:32+05:30
-
fdaa5306
by Zubin Duggal at 2025-09-05T17:09:33+05:30
6 changed files:
- .gitlab-ci.yml
- .gitlab/rel_eng/fetch-gitlab-artifacts/fetch_gitlab.py
- .gitlab/rel_eng/upload.sh
- configure.ac
- distrib/mkDocs/mkDocs
- docs/users_guide/9.10.3-notes.rst
Changes:
| ... | ... | @@ -569,12 +569,17 @@ doc-tarball: |
| 569 | 569 | LINUX_BINDIST: "ghc-x86_64-linux-deb10.tar.xz"
|
| 570 | 570 | WINDOWS_BINDIST: "ghc-x86_64-windows.tar.xz"
|
| 571 | 571 | artifacts:
|
| 572 | + expose_as: "Documentation Preview"
|
|
| 572 | 573 | paths:
|
| 573 | 574 | - haddock.html.tar.xz
|
| 575 | + - docs/haddock/
|
|
| 574 | 576 | - libraries.html.tar.xz
|
| 577 | + - docs/libraries/
|
|
| 575 | 578 | - users_guide.html.tar.xz
|
| 576 | - - index.html
|
|
| 577 | - - "*.pdf"
|
|
| 579 | + - docs/users_guide/
|
|
| 580 | + - docs/index.html
|
|
| 581 | + - Haddock.pdf
|
|
| 582 | + - users_guide.pdf
|
|
| 578 | 583 | script:
|
| 579 | 584 | - |
|
| 580 | 585 | mv "ghc-x86_64-linux-deb10-numa-slow-validate.tar.xz" "$LINUX_BINDIST" \
|
| ... | ... | @@ -594,8 +599,8 @@ doc-tarball: |
| 594 | 599 | fi
|
| 595 | 600 | - rm -Rf docs
|
| 596 | 601 | - bash -ex distrib/mkDocs/mkDocs $LINUX_BINDIST $WINDOWS_BINDIST
|
| 602 | + - mv docs/*.tar.xz docs/*.pdf .
|
|
| 597 | 603 | - ls -lh
|
| 598 | - - mv docs/*.tar.xz docs/index.html .
|
|
| 599 | 604 | |
| 600 | 605 | hackage-doc-tarball:
|
| 601 | 606 | stage: packaging
|
| ... | ... | @@ -129,7 +129,7 @@ def fetch_artifacts(release: str, pipeline_id: int, |
| 129 | 129 | for f in doc_files:
|
| 130 | 130 | subprocess.run(['tar', '-xf', f, '-C', dest])
|
| 131 | 131 | logging.info(f'extracted docs {f} to {dest}')
|
| 132 | - index_path = destdir / 'docs' / 'index.html'
|
|
| 132 | + index_path = destdir / 'index.html'
|
|
| 133 | 133 | index_path.replace(dest / 'index.html')
|
| 134 | 134 | pdfs = list(destdir.glob('*.pdf'))
|
| 135 | 135 | for f in pdfs:
|
| ... | ... | @@ -165,3 +165,4 @@ def main(): |
| 165 | 165 | gl = gitlab.Gitlab.from_config(args.profile)
|
| 166 | 166 | fetch_artifacts(args.release, args.pipeline,
|
| 167 | 167 | dest_dir=args.output, gl=gl)
|
| 168 | +main() |
| 1 | -#!/usr/bin/env nix-shell
|
|
| 2 | -#! nix-shell -i bash -p moreutils lzip zip lftp gnupg
|
|
| 1 | +#!/usr/bin/bash
|
|
| 3 | 2 | |
| 4 | 3 | set -Eeuo pipefail
|
| 5 | 4 | |
| ... | ... | @@ -41,7 +40,7 @@ set -Eeuo pipefail |
| 41 | 40 | : ${ver:=$(ls ghc-*.tar.* | sed -ne 's/ghc-\([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).\+/\1/p' | head -n1)}
|
| 42 | 41 | if [ -z "$ver" ]; then echo "Failed to infer \$ver"; exit 1; fi
|
| 43 | 42 | |
| 44 | -host="gitlab-storage.haskell.org"
|
|
| 43 | +host="gitlab.haskell.org:2222"
|
|
| 45 | 44 | |
| 46 | 45 | usage() {
|
| 47 | 46 | echo "Usage: [rel_name=<name>] ver=7.10.3-rc2 $0 <action>"
|
| ... | ... | @@ -22,7 +22,7 @@ AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.10.2], [glasgow-ha |
| 22 | 22 | AC_CONFIG_MACRO_DIRS([m4])
|
| 23 | 23 | |
| 24 | 24 | # Set this to YES for a released version, otherwise NO
|
| 25 | -: ${RELEASE=NO}
|
|
| 25 | +: ${RELEASE=YES}
|
|
| 26 | 26 | |
| 27 | 27 | # The primary version (e.g. 7.5, 7.4.1) is set in the AC_INIT line
|
| 28 | 28 | # above. If this is not a released version, then we will append the
|
| ... | ... | @@ -43,7 +43,7 @@ do |
| 43 | 43 | dir=${i%*/}
|
| 44 | 44 | tar -Jcf ../../../../../$dir.html.tar.xz $dir
|
| 45 | 45 | done
|
| 46 | -mv index.html ../../../../..
|
|
| 46 | +mv index.html users_guide libraries ../../../../..
|
|
| 47 | 47 | cd ..
|
| 48 | 48 | mv ./*.pdf ../../../.. || \
|
| 49 | 49 | die "failed to find PDFs"
|
| ... | ... | @@ -22,9 +22,6 @@ Compiler |
| 22 | 22 | - Fix GHC.SysTools.Ar archive member size writing logic that was emitting wrong
|
| 23 | 23 | archive member sizes in headers. (:ghc-ticket:`26120`, :ghc-ticket:`22586`)
|
| 24 | 24 | |
| 25 | -- Fix multiple bugs in name resolution of subordinate import lists related to
|
|
| 26 | - type namespace specifiers and hiding clauses. (:ghc-ticket:`22581`, :ghc-ticket:`25983`, :ghc-ticket:`25984`, :ghc-ticket:`25991`)
|
|
| 27 | - |
|
| 28 | 25 | - Use mkTrAppChecked in ds_ev_typeable to avoid false negatives for type
|
| 29 | 26 | equality involving function types. (:ghc-ticket:`25998`)
|
| 30 | 27 | |
| ... | ... | @@ -40,6 +37,9 @@ Compiler |
| 40 | 37 | - Introduce a separate argument limit for forced specs via SPEC argument with
|
| 41 | 38 | warning when limit is exceeded. (:ghc-ticket:`25197`)
|
| 42 | 39 | |
| 40 | +- Fix compiler crash in the renamer with certain programs referencing out of
|
|
| 41 | + scope record fields (:ghc-ticket:`25056`)
|
|
| 42 | + |
|
| 43 | 43 | Build system and packaging
|
| 44 | 44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 45 | 45 | |
| ... | ... | @@ -79,6 +79,8 @@ WebAssembly backend |
| 79 | 79 | Runtime system
|
| 80 | 80 | ~~~~~~~~~~~~~~
|
| 81 | 81 | |
| 82 | +- rts: Fix a segfault involving STM (:ghc-ticket:`26205`).
|
|
| 83 | + |
|
| 82 | 84 | - rts: Implement WEAK EXTERNAL undef redirection by target symbol name.
|
| 83 | 85 | |
| 84 | 86 | - rts: Handle API set symbol versioning conflicts.
|
| ... | ... | @@ -97,12 +99,12 @@ Runtime system |
| 97 | 99 | ``base`` library
|
| 98 | 100 | ~~~~~~~~~~~~~~~~
|
| 99 | 101 | |
| 100 | -- base: Expose Backtraces constructor and fields. (:ghc-ticket:`26049`)
|
|
| 101 | - |
|
| 102 | 102 | - base: Note strictness changes made in 4.16.0.0. (:ghc-ticket:`25886`)
|
| 103 | 103 | |
| 104 | 104 | - Fix bugs in ``integerRecipMod`` and ``integerPowMod`` return values. (:ghc-ticket:`26017`)
|
| 105 | 105 | |
| 106 | +- Fix incorrect results for ``naturalAndNot`` (:ghc-ticket:`26230`)
|
|
| 107 | + |
|
| 106 | 108 | ``ghc`` library
|
| 107 | 109 | ~~~~~~~~~~~~~~~
|
| 108 | 110 | |
| ... | ... | @@ -112,9 +114,6 @@ Runtime system |
| 112 | 114 | Build tools
|
| 113 | 115 | ~~~~~~~~~~~
|
| 114 | 116 | |
| 115 | -- configure: Drop probing of ld.gold since `gold` has been dropped from
|
|
| 116 | - binutils-2.44. (:ghc-ticket:`25716`)
|
|
| 117 | - |
|
| 118 | 117 | - get-win32-tarballs.py: List tarball files to be downloaded if we cannot find
|
| 119 | 118 | them. (:ghc-ticket:`25929`)
|
| 120 | 119 | |
| ... | ... | @@ -162,4 +161,4 @@ for further change information. |
| 162 | 161 | libraries/transformers/transformers.cabal: Dependency of ``ghc`` library
|
| 163 | 162 | libraries/unix/unix.cabal: Dependency of ``ghc`` library
|
| 164 | 163 | libraries/Win32/Win32.cabal: Dependency of ``ghc`` library
|
| 165 | - libraries/xhtml/xhtml.cabal: Dependency of ``haddock`` executable |
|
| \ No newline at end of file | ||
| 164 | + libraries/xhtml/xhtml.cabal: Dependency of ``haddock`` executable |