Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-06 Thread George Colpitts
Thanks Brandon

After downloading the source tarball and doing a build successfully I
wanted to run the testsuite.

You write

   - As far as I know, the test suite is normally run from ghc/testsuite.

That directory doesn't exist for me:


   -  pwd
   - /Users/gcolpitts/Downloads/ghc-8.2.0.20170404/ghc
   - bash-3.2$ ls testsuite
   - ls: testsuite: No such file or directory
   - bash-3.2$


so I guess the source tarball doesn't contain it and those who do a build
can't test their build with the testsuite. I was hoping I could do that.

I didn't think the libffi directories were the right place to run from but
they were only testsuite directories that the find command gave me.

Thanks again
George



On Thu, Apr 6, 2017 at 2:10 AM David Feuer  wrote:

I'm not sure why you're trying to run things from the libffi directory. As
far as I know, the test suite is normally run from ghc/testsuite.



David Feuer
Well-Typed, LLP

 Original message 
From: George Colpitts 
Date: 4/5/17 9:17 PM (GMT-05:00)
To: Jens Petersen , Ben Gamari 
Cc: GHC developers 
Subject: Re: GHC 8.2.1-rc1 source tarball availability

I'd like to run the testsuite on macOS but I am having trouble following
the documentation at
https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running

Do I need to download something in addition to the source tarball or am I
making some mistake?

Following is what I tried:

 pwd
/Users/gcolpitts/Downloads/ghc-8.2.0.20170404/libffi
# doc says: The commands on this page can all be executed from the
testsuite directory.
bash-3.2$ find . -name testsuite
./libffi/build/testsuite
./libffi/build/x86_64-apple-darwin/testsuite
bash-3.2$ pushd libffi/build/x86_64-apple-darwin/testsuite
~/Downloads/ghc-8.2.0.20170404/libffi/build/x86_64-apple-darwin/testsuite
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ make test
make: *** No rule to make target `test'.  Stop.
bash-3.2$ popd
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ pushd libffi/build/testsuite
~/Downloads/ghc-8.2.0.20170404/libffi/build/testsuite
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ make test
make: *** No rule to make target `test'.  Stop.
bash-3.2$ popd
~/Downloads/ghc-8.2.0.20170404
bash-3.2$ make test
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C testsuite/tests
CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt
make: *** testsuite/tests: No such file or directory.  Stop.
make: *** [test] Error 2

Thanks
George


On Wed, Apr 5, 2017 at 9:43 PM Jens Petersen  wrote:

On 4 April 2017 at 13:21, Ben Gamari  wrote:

I am happy to announce the release of the 8.2.1-rc1 source distribution
to binary packagers.


It seems to build okay for me on Fedora 26 so far.

But the testsuite completely failed in timeout: see
https://ghc.haskell.org/trac/ghc/ticket/13534

Cheers, Jens

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-06 Thread David Feuer
That's not really too surprising to me. The test suite is primarily intended 
for GHC developers, and at present only works reliably when GHC is compiled for 
validation. Including it in the distribution would force users who had no use 
for it to pay for it anyway.


David FeuerWell-Typed, LLP
 Original message From: George Colpitts 
 Date: 4/6/17  9:39 AM  (GMT-05:00) To: David Feuer 
, Jens Petersen , Ben Gamari 
 Cc: GHC developers  Subject: Re: 
testsuite not in GHC 8.2.1-rc1 source tarball ? 
Thanks Brandon
After downloading the source tarball and doing a build successfully I wanted to 
run the testsuite.
You writeAs far as I know, the test suite is normally run from ghc/testsuite.
That directory doesn't exist for me:
 pwd
/Users/gcolpitts/Downloads/ghc-8.2.0.20170404/ghc
bash-3.2$ ls testsuite
ls: testsuite: No such file or directory
bash-3.2$ 

so I guess the source tarball doesn't contain it and those who do a build can't 
test their build with the testsuite. I was hoping I could do that.
I didn't think the libffi directories were the right place to run from but they 
were only testsuite directories that the find command gave me.
Thanks againGeorge


On Thu, Apr 6, 2017 at 2:10 AM David Feuer  wrote:
I'm not sure why you're trying to run things from the libffi directory. As far 
as I know, the test suite is normally run from ghc/testsuite.


David FeuerWell-Typed, LLP
 Original message From: George Colpitts 
 Date: 4/5/17  9:17 PM  (GMT-05:00) To: Jens 
Petersen , Ben Gamari  Cc: GHC 
developers  Subject: Re: GHC 8.2.1-rc1 source tarball 
availability 
I'd like to run the testsuite on macOS but I am having trouble following the 
documentation at 
https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running
Do I need to download something in addition to the source tarball or am I 
making some mistake?
Following is what I tried:
 pwd/Users/gcolpitts/Downloads/ghc-8.2.0.20170404/libffi# doc says: The 
commands on this page can all be executed from the testsuite 
directory.bash-3.2$ find . -name 
testsuite./libffi/build/testsuite./libffi/build/x86_64-apple-darwin/testsuitebash-3.2$
 pushd 
libffi/build/x86_64-apple-darwin/testsuite~/Downloads/ghc-8.2.0.20170404/libffi/build/x86_64-apple-darwin/testsuite
 ~/Downloads/ghc-8.2.0.20170404bash-3.2$ make testmake: *** No rule to make 
target `test'.  Stop.bash-3.2$ popd~/Downloads/ghc-8.2.0.20170404bash-3.2$ 
pushd 
libffi/build/testsuite~/Downloads/ghc-8.2.0.20170404/libffi/build/testsuite 
~/Downloads/ghc-8.2.0.20170404bash-3.2$ make testmake: *** No rule to make 
target `test'.  Stop.bash-3.2$ popd~/Downloads/ghc-8.2.0.20170404bash-3.2$ make 
test/Applications/Xcode.app/Contents/Developer/usr/bin/make -C testsuite/tests 
CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txtmake: *** testsuite/tests: No 
such file or directory.  Stop.make: *** [test] Error 2
ThanksGeorge

On Wed, Apr 5, 2017 at 9:43 PM Jens Petersen  wrote:
On 4 April 2017 at 13:21, Ben Gamari  wrote:

I am happy to announce the release of the 8.2.1-rc1 source distribution

to binary packagers.

It seems to build okay for me on Fedora 26 so far.

But the testsuite completely failed in timeout: see 
https://ghc.haskell.org/trac/ghc/ticket/13534

Cheers, Jens


___

ghc-devs mailing list

ghc-devs@haskell.org

http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-06 Thread George Colpitts
Thanks for the clarification. I'm all set.

On Thu, Apr 6, 2017 at 10:58 AM David Feuer  wrote:

> That's not really too surprising to me. The test suite is primarily
> intended for GHC developers, and at present only works reliably when GHC is
> compiled for validation. Including it in the distribution would force users
> who had no use for it to pay for it anyway.
>
>
>
> David Feuer
> Well-Typed, LLP
>
>  Original message 
> From: George Colpitts 
> Date: 4/6/17 9:39 AM (GMT-05:00)
> To: David Feuer , Jens Petersen <
> juhpeter...@gmail.com>, Ben Gamari 
> Cc: GHC developers 
> Subject: Re: testsuite not in GHC 8.2.1-rc1 source tarball ?
>
> Thanks Brandon
>
> After downloading the source tarball and doing a build successfully I
> wanted to run the testsuite.
>
> You write
>
>- As far as I know, the test suite is normally run from ghc/testsuite.
>
> That directory doesn't exist for me:
>
>
>-  pwd
>- /Users/gcolpitts/Downloads/ghc-8.2.0.20170404/ghc
>- bash-3.2$ ls testsuite
>- ls: testsuite: No such file or directory
>- bash-3.2$
>
>
> so I guess the source tarball doesn't contain it and those who do a build
> can't test their build with the testsuite. I was hoping I could do that.
>
> I didn't think the libffi directories were the right place to run from but
> they were only testsuite directories that the find command gave me.
>
> Thanks again
> George
>
>
>
> On Thu, Apr 6, 2017 at 2:10 AM David Feuer  wrote:
>
> I'm not sure why you're trying to run things from the libffi directory. As
> far as I know, the test suite is normally run from ghc/testsuite.
>
>
>
> David Feuer
> Well-Typed, LLP
>
>  Original message 
> From: George Colpitts 
> Date: 4/5/17 9:17 PM (GMT-05:00)
> To: Jens Petersen , Ben Gamari 
>
> Cc: GHC developers 
> Subject: Re: GHC 8.2.1-rc1 source tarball availability
>
> I'd like to run the testsuite on macOS but I am having trouble following
> the documentation at
> https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running
>
> Do I need to download something in addition to the source tarball or am I
> making some mistake?
>
> Following is what I tried:
>
>  pwd
> /Users/gcolpitts/Downloads/ghc-8.2.0.20170404/libffi
> # doc says: The commands on this page can all be executed from the
> testsuite directory.
> bash-3.2$ find . -name testsuite
> ./libffi/build/testsuite
> ./libffi/build/x86_64-apple-darwin/testsuite
> bash-3.2$ pushd libffi/build/x86_64-apple-darwin/testsuite
> ~/Downloads/ghc-8.2.0.20170404/libffi/build/x86_64-apple-darwin/testsuite
> ~/Downloads/ghc-8.2.0.20170404
> bash-3.2$ make test
> make: *** No rule to make target `test'.  Stop.
> bash-3.2$ popd
> ~/Downloads/ghc-8.2.0.20170404
> bash-3.2$ pushd libffi/build/testsuite
> ~/Downloads/ghc-8.2.0.20170404/libffi/build/testsuite
> ~/Downloads/ghc-8.2.0.20170404
> bash-3.2$ make test
> make: *** No rule to make target `test'.  Stop.
> bash-3.2$ popd
> ~/Downloads/ghc-8.2.0.20170404
> bash-3.2$ make test
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C testsuite/tests
> CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt
> make: *** testsuite/tests: No such file or directory.  Stop.
> make: *** [test] Error 2
>
> Thanks
> George
>
>
> On Wed, Apr 5, 2017 at 9:43 PM Jens Petersen 
> wrote:
>
> On 4 April 2017 at 13:21, Ben Gamari  wrote:
>
> I am happy to announce the release of the 8.2.1-rc1 source distribution
> to binary packagers.
>
>
> It seems to build okay for me on Fedora 26 so far.
>
> But the testsuite completely failed in timeout: see
> https://ghc.haskell.org/trac/ghc/ticket/13534
>
> Cheers, Jens
>
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-06 Thread Ben Gamari
George Colpitts  writes:

> Thanks Brandon
>
> After downloading the source tarball and doing a build successfully I
> wanted to run the testsuite.
>
You can indeed run the testsuite.

However, note that the testsuite is not included in the "-src" tarball
to keep the distribution size down. There is a separate "-testsuite"
tarball which includes the testsuite/ subtree. This can be extracted
into the parent directory of the source tree. You should find this
tarball in the usual place [1].

Cheers,

- Ben


[1] 
https://downloads.haskell.org/~ghc/8.2.1-rc1/ghc-8.2.0.20170404-testsuite.tar.xz


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-06 Thread George Colpitts
Great, thanks Ben!

On Thu, Apr 6, 2017 at 2:01 PM Ben Gamari  wrote:

> George Colpitts  writes:
>
> > Thanks Brandon
> >
> > After downloading the source tarball and doing a build successfully I
> > wanted to run the testsuite.
> >
> You can indeed run the testsuite.
>
> However, note that the testsuite is not included in the "-src" tarball
> to keep the distribution size down. There is a separate "-testsuite"
> tarball which includes the testsuite/ subtree. This can be extracted
> into the parent directory of the source tree. You should find this
> tarball in the usual place [1].
>
> Cheers,
>
> - Ben
>
>
> [1]
> https://downloads.haskell.org/~ghc/8.2.1-rc1/ghc-8.2.0.20170404-testsuite.tar.xz
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-08 Thread George Colpitts
Are there any guidelines on how much memory is required to run the tests?
On my Mac I have 12 GB of RAM and a few hundred gigabytes of free disk
space. The first time I did


   - make THREADS=4 test

and I got a message


   - Your system has run out of application memory

so I reran with

   - make test

and left it running unattended. My machine crashed about an hour later.

Thanks


On Thu, Apr 6, 2017 at 2:01 PM Ben Gamari  wrote:

> George Colpitts  writes:
>
> > Thanks Brandon
> >
> > After downloading the source tarball and doing a build successfully I
> > wanted to run the testsuite.
> >
> You can indeed run the testsuite.
>
> However, note that the testsuite is not included in the "-src" tarball
> to keep the distribution size down. There is a separate "-testsuite"
> tarball which includes the testsuite/ subtree. This can be extracted
> into the parent directory of the source tree. You should find this
> tarball in the usual place [1].
>
> Cheers,
>
> - Ben
>
>
> [1]
> https://downloads.haskell.org/~ghc/8.2.1-rc1/ghc-8.2.0.20170404-testsuite.tar.xz
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-08 Thread Ben Gamari
George Colpitts  writes:

> Are there any guidelines on how much memory is required to run the tests?
> On my Mac I have 12 GB of RAM and a few hundred gigabytes of free disk
> space. The first time I did
>
>
>- make THREADS=4 test
>
> and I got a message
>
>
>- Your system has run out of application memory
>
> so I reran with
>
>- make test
>
> and left it running unattended. My machine crashed about an hour later.
>
Well, unfortunately one of the changes that just barely missesd the
window for -rc1 was a fix to a rather serious memory leak in the compiler
(#13426). I suspect this is the reason you are seeing such high memory
footprints.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-08 Thread Erik de Castro Lopo
Ben Gamari wrote:

> Well, unfortunately one of the changes that just barely missesd the
> window for -rc1 was a fix to a rather serious memory leak in the compiler
> (#13426).

Thats going to fixed for rc2?

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: testsuite not in GHC 8.2.1-rc1 source tarball ?

2017-04-08 Thread Ben Gamari
Erik de Castro Lopo  writes:

> Ben Gamari wrote:
>
>> Well, unfortunately one of the changes that just barely missesd the
>> window for -rc1 was a fix to a rather serious memory leak in the compiler
>> (#13426).
>
> Thats going to fixed for rc2?
>
Yes, the patch is already in the ghc-8.2 branch.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs