Re: GHC 8.2.1-rc1 source tarball availability

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

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

George Colpitts
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.ta...

Great, thanks Ben!
On Thu, Apr 6, 2017 at 2:01 PM 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.ta...

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
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.ta...

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.
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

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/

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?
Yes, the patch is already in the ghc-8.2 branch. Cheers, - Ben
participants (5)
-
Ben Gamari
-
Ben Gamari
-
David Feuer
-
Erik de Castro Lopo
-
George Colpitts