| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the `libraries/dph` submodule is checked out always we need
a different way to disable building DPH to save compile-time while
developing GHC.
This commit adds a new YES/NO Make variable `BUILD_DPH` that can be used
inside mk/build.mk to control whether to build libraries/dph or not.
The default setting is `BUILD_DPH=YES` (via `mk/config.mk.in`).
This also changes `validate`'s flag `--no-dph` to explicitly disable DPH
for the current validation run.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Test Plan: successful validates with `--fast --no-dph`
Differential Revision: https://phabricator.haskell.org/D31
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See merge commit 66693401b98cb5aa912948af7bbd2182474f50c4
This commit also adds a check for a left-over testsuite/.git folder to sync-all
This way, the first time sync-all is called after updating to a
post-testsuite-merge (see #8545) state of ghc.git, the sync-all script
aborts with an error message if a `testsuite/.git` folder is detected and
thus forces the user to take action.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Under --slow, the DPH tests can take incredible amounts of time to run.
And on some platforms, we may not have a fully working linker in order
to build DPH etc anyway. So this provides a way to turn it off.
This flag is off by default, but should your specify it, you can skip
the required 'dph' libraries in a build, should you remove them from the
source tree.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
|
|
|
|
| |
This basically turns the comment at the beginning of the `validate`
shell script into an interactive `--help` output plus some minor additions.
|
|
|
|
| |
Should help to track down cache-out-of-date problems
|
|
|
|
|
| |
This means that we can use the standard MonadIO class, rather than
needing our own copy.
|
|
|
|
|
| |
This makes life easier, as ghc.mk has access to HADDOCK_DOCS
and DYNAMIC_BY_DEFAULT, so knows the right way to build it.
|
| |
|
|
|
|
|
| |
It's less precise now, but still good enough for what we need, and
this way we don't need to have literal tabs in the file.
|
| |
|
|
|
|
|
|
| |
I've also renamed the bindisttest install directory to contain multiple
spaces, so we are also testing that multiple spaces aren't getting
collapsed into a single space.
|
|
|
|
| |
This makes "make" keep working after a "./validate --fast".
|
|
|
|
|
|
|
|
|
|
|
|
| |
The --fast option now disables the following:
- dynamic libs
- bindist and bindisttest
Which knocks several minutes off validate for me, but it's still over
30 minutes using 5 cores on 64-bit Linux.
Usual caveats apply: if you're using --fast, then make sure you aren't
doing anything that might destabilise dynamic libs or binary dists.
|
|
|
|
|
| |
We don't actually enable the test yet, but when we do validate will
check whether it fails.
|
|\ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
This fixes the ghcpkg05 test failure.
(ghc-pkg check was complaining because the mtl docs didn't exist).
|
|/
|
|
| |
for debugging the build system.
|
|
|
|
|
| |
some more tests to run (those with reqlib('mtl')) and serves as an
extra sanity check on Cabal and the bindist.
|
|
|
|
|
| |
If we aren't validating and mk/build.mk doesn't exist then boot
prints a warning, pointing at instructions for setting up mk/build.mk.
|
| |
|
|
|
|
|
|
| |
rather then the bootstrapping compiler. This fixes problems where the
bootstrapping compiler dynamically links against libraries not on the
target machine.
|
| |
|
| |
|
|
|
|
|
|
| |
You can now run "make test" in the root, and the fast testsuite will be
run with cleaning enabled. It will also put the summary in
testsuite_summary.txt.
|
| |
|
| |
|
|
|
|
| |
This stops us having to worry about sh/sed/... portability.
|
| |
|
| |
|
| |
|
|
|
|
| |
on Windows, as they are now in-tree
|
| |
|
|
|
|
| |
Cleaning should always succeed now
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We only need the forwardslash mode now, so always use that mode and
don't accept any arguments.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Among others:
- Fixed Stg->C-- translation of let-no-escapes -- it's important to use the
right continuation...
- Fixed infinite recursion in X86 backend (shortcutJump mishandled infinite loops)
- Fixed yet another wrong calling convention -- primops take args only in vanilla regs,
but they may return results on the stack!
- Removed StackInfo from LGraph and Block -- now in LastCall and CmmZ
- Updated avail-variable and liveness code
|
| |
|
|
|
|
|
|
|
|
| |
We now set Validating=YES in mk/are-validating.mk rather than on the
commandline. This means that if you build a tree with validate then
just running make in it will use the validate flags.
"make distclean" removes mk/are-validating.mk, putting us back in
standard build mode.
|
| |
|
| |
|