summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Enable external interpreter when TH is requested but no internal interpreter ↵cherry-pick-e172a6d1Alp Mestanogullari2019-06-031-2/+9
| | | | | is available (cherry picked from commit e172a6d127a65b945b31306ff7b6c43320debfb4)
* Fix optSemi type in Parser.yVladislav Zavialov2019-06-031-2/+1
| | | | | | | | | | | | | | | | | | | | | The definition of 'optSemi' claimed it had type ([Located a],Bool) Note that its production actually returns ([Located Token],Bool): : ';' { ([$1],True) } -- $1 :: Located Token Due to an infelicity in the implementation of 'happy -c', it effectively resulted in 'unsafeCoerce :: Token -> a'. See https://github.com/simonmar/happy/pull/134 If any consumer of 'optSemi' tried to instantiate 'a' to something not representationally equal to 'Token', they would experience a segfault. In addition to that, this definition made it impossible to compile Parser.y without the -c flag (as it's reliant on this bug to cast 'Token' to 'forall a. a').
* Fix #16603 by documenting some important changes in changelogsRyan Scott2019-05-082-0/+51
| | | | | | This addresses some glaring omissions from `libraries/base/changelog.md` and `docs/users_guide/8.8.1-notes.rst`, fixing #16603 in the process.
* gitlab-ci: Reintroduce DWARF-enabled bindistsBen Gamari2019-04-261-0/+15
| | | | | It seems that this was inadvertently dropped in 1285d6b95fbae7858abbc4722bc2301d7fe40425.
* users-guide: Mention profiling break on 32-bit WindowsBen Gamari2019-04-251-1/+6
| | | | Due to #15934.
* users-guide: Drop old release notesBen Gamari2019-04-253-820/+0
|
* Update autoconf scriptsghc-8.8.1-alpha1Ben Gamari2019-04-246-4794/+5196
| | | | Scripts taken from autoconf a8d79c3130da83c7cacd6fee31b9acc53799c406
* Give it a three-component version numberBen Gamari2019-04-241-1/+1
|
* gitlab-ci: Fix CI image namesBen Gamari2019-04-241-2/+3
|
* gitlab-ci: Disable PDF building on Debian 8Ben Gamari2019-04-241-0/+2
|
* gitlab-ci: Set LANG in centos7 buildBen Gamari2019-04-241-0/+2
| | | | Let's see if this fixes the testsuite failures.
* gitlab-ci: Allow centos7 job to failBen Gamari2019-04-241-0/+1
|
* gitlab-ci: Further tighten linter release tag conditionBen Gamari2019-04-221-1/+1
|
* template-haskell: Fix TBAs in changelogBen Gamari2019-04-221-2/+2
|
* gitlab-ci: Only run release notes lint on release tagsBen Gamari2019-04-221-1/+2
|
* gitlab-ci: Add centos7 release jobBen Gamari2019-04-221-0/+21
|
* gitlab-ci: Do not build profiled libraries on 32-bit WindowsBen Gamari2019-04-201-0/+4
| | | | Due to #15934.
* Fix error message for './configure' regarding '--with-ghc' [skip ci]Alexandre Baldé2019-04-191-1/+1
| | | | (cherry picked from commit 00245f7777854e9be1eeb4c7363e254d5ad7f25f)
* Fix two bugs in stg_ap_0_fast in profiling runtimeÖmer Sinan Ağacan2019-04-191-7/+11
| | | | | | | | | | | | | | | | | | | | This includes two bug fixes in profiling version of stg_ap_0_fast: - PAPs allocated by stg_ap_0_fast are now correctly tagged. This invariant is checked in Sanity.c:checkPAP. (This was originally implemented in 2693eb11f5, later reverted with ab55b4ddb7 because it revealed the bug below, but it wasn't clear at the time whether the bug was the one below or something in the commit) - The local variable `untaggedfun` is now marked as a pointer so it survives GC. With this we finally fix all known bugs caught in #15508. `concprog001` now works reliably with prof+threaded and prof runtimes (with and without -debug). (cherry picked from commit 908b4b8659713f0b7a1704ce33c7fa30e3e0ffc3)
* users-guide: Document how to disable package environmentsBen Gamari2019-04-191-2/+8
| | | | | | As noted in #16309 this somehow went undocumented. (cherry picked from commit 36d380475d9056fdf93305985be3def00aaf6cf7)
* osReserveHeapMemory: handle signed rlim_tFraser Tweedale2019-04-191-2/+4
| | | | | | | | rlim_t is a signed type on FreeBSD, and the build fails with a sign-compare error. Add explicit (unsigned) cast to handle this case. (cherry picked from commit 0fbad68df0171809bddb48e9753955cc232099eb)
* gitlab: Remove doc-tarball jobBen Gamari2019-04-171-41/+0
|
* Allow unregisterised build to failBen Gamari2019-04-171-0/+1
|
* gitlab-ci: Allow failing build jobs to failBen Gamari2019-04-171-0/+3
|
* users-guide: Add pretty to package listBen Gamari2019-04-171-0/+1
|
* gitlab-ci: Backport from masterBen Gamari2019-04-171-104/+405
|
* Hadrian: introduce ways to skip some documentation targetsAlp Mestanogullari2019-04-176-9/+159
| | | | | | | | | | | The initial motivation for this is to have a chance to run the binary distribution rules in our Windows CI without having to install sphinx-build and xelatex there, while retaining the ability to generate haddocks. I just ended up extending this idea a little bit so as to have control over whether we build haddocks, (sphinx) HTML manuals, (sphinx) PDF manuals and (sphinx) manpages. (cherry picked from commit 8442103aa575dc1cd25cb3231e729c6365dc1b5c)
* Add werror function to Flavour.hsMatthew Pickering2019-04-173-1/+22
| | | | | | | This function makes it easy to turn on `-Werror` in the correct manner to mimic how CI turns on -Werror. (cherry picked from commit 8dcd00cef7782c64b5484b106f4fd77c8c87e40a)
* configure: Always use AC_LINK_ELSEIF when testing against assemblerBen Gamari2019-04-171-5/+33
| | | | | | | | | | | | This fixes #16440, where the build system incorrectly concluded that the `.subsections_via_symbols` assembler directive was supported on a Linux system. This was caused by the fact that gcc was invoked with `-flto`; when so-configured gcc does not call the assembler but rather simply serialises its AST for compilation during the final link. This is described in Note [autoconf assembler checks and -flto]. (cherry picked from commit 7b090b53fea065d2cfd967ea919426af9ba8d737)
* Restore Xmm registers properly in StgCRun.cklebinger.andreas@gmx.at2019-04-171-9/+9
| | | | | | | This fixes #16514: Xmm6-15 was restored based off rax instead of rsp. The code was introduced in the fix for #14619. (cherry picked from commit 9b131500371a07626e33edc56700c12322364560)
* Bump hpc submoduleRyan Scott2019-04-121-0/+0
| | | | | Currently, the `hpc` submodule is pinned against the `wip/final-mfp` branch, not against `master`. This pins it back against `master`.
* Use funPrec, not topPrec, to parenthesize GADT argument typesRyan Scott2019-04-095-8/+27
| | | | A simple oversight. Fixes #16527.
* base: Remove `Monad(fail)` method and reexport `MonadFail(fail)` insteadHerbert Valerio Riedel2019-04-05153-801/+229
| | | | | | As per https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail Coauthored-by: Ben Gamari <ben@well-typed.com>
* Update parallel submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update directory submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update filepath submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update hpc submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update terminfo submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update stm submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update process submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update parsec submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update haskeline submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update deepseq submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update unix submoduleHerbert Valerio Riedel2019-04-052-0/+1
|
* Update text submoduleHerbert Valerio Riedel2019-04-051-0/+0
|
* Update binary submodule to latest master branch tipHerbert Valerio Riedel2019-04-051-0/+0
|
* Bump array submoduleRyan Scott2019-04-021-0/+0
| | | | | | This bumps `array` to version 0.5.4.0 so that we can distinguish it with `MIN_VERSION_array` (as it introduces some changes to the `Show` instance for `UArray`).
* Bump transformers to 0.5.6.2Ben Gamari2019-04-021-0/+0
| | | | See #16199.
* Correct duplicate 4.12.0.0 entry in base's changelogRyan Scott2019-04-021-1/+1
| | | | | | See #16490. [ci skip]
* Fix #16219: TemplateHaskell causes indefinite package build errorcherry-pick-d6d735c1Edward Z. Yang2019-04-0111-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | It should work to write an indefinite package using TemplateHaskell, so long as all of the actual TH code lives outside of the package. However, cleverness we had to build TH code even when building with -fno-code meant that we attempted to build object code for modules in an indefinite package, even when the signatures were not instantiated. This patch disables said logic in the event that an indefinite package is being typechecked. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: validate Reviewers: simonpj, bgamari Reviewed By: bgamari Subscribers: rwbarton, carter GHC Trac Issues: #16219 Differential Revision: https://phabricator.haskell.org/D5475 (cherry picked from commit d6d735c1114082b9e9cc1ba7da87c49f52891320)