On Wed, Oct 17, 2007 at 12:35:08PM +0100, Simon Peyton-Jones wrote:
> Serge
>
> I've just compiled docon-2.10 with the current 6.8 branch.
> It compiles fine. Log is below
> [..]
Thank you.
I looked into the log that you have enclosed.
1. Instance import.
You see that GHC warns about a couple of modules imported but not used.
If I remove this import, it will report an error of not finding of a
certain _instance_.
May be, this warning message must be improved?
2. Running test.
Some 6.8* versions can do make build for docon-2.10,
but cannot `make' the test.
According to install.txt, the test has to do a bit more.
This log is only for
make configure; make build
And it is also needed to test this:
make install
cd demotest
ghc $doconCpOpt --make Main -- making and
./Main +RTS -M60m -RTS -- running the DoCon test
(see install.txt about $doconOpts).
This test must report in the end of its log: "no errors detected".
3. Making ghc by ghc (by 6.6.1 and then, by itself). This must work.
4. Space.
It is desirable to test the space eagerness in comparison to ghc-6.6.1.
For example, if this ./Main running does not succeed within -M50m,
then this is suspicious.
5. -Onot
As I recall, the default `make' for docon is under -O, and it is also
desirable to test -Onot and repeat making and running ./Main.
Because users often like to build things under -Onot.
6. Profiling is a usable tool.
It is desirable to re-make DoCon under -O -prof -auto-all
(at least)
and print the pro-file for -pT for demotest/Main running.
For example, if it breaks, at any stage, or shows some strange time
per-centage, then GHC is buggy.
Usually I do all this myself.
-----------------------------
And I can do this now as well --
if I know precisely
1) where to take the needed 6.8-candidate in source
2) that ghc-6.6.1 can build this 6.8-candidate from source.
But if the GHC developers do themself the points (1) - (6)
for docon-2.10, I shall be grateful to them for saving my effort.
Regards,
-----------
Mechveliani
------------------------------------------------
> I'm in docon-2.10/docon/source
>
> bash-2.05b$ make configure
> runhaskell Setup.hs configure --ghc \
>
> --with-compiler=/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/compiler/stage2/ghc-inplace
> \
>
...
[..]
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs