Re: [blfs-dev] Quick detail about OpenJDK

2018-11-23 Thread Pierre Labastie via blfs-dev

On 23/11/2018 14:49, Alain Toussaint via blfs-dev wrote:

Hello,

Since the start of the week, I've been building a gnome desktop based
Linux system with all the recommended and optional packages included
via the ALFS build tool and for OpenJDK, the build took 894 minutes
(yes, nearly 15h) only to fail because 7 tests out of the testsuite
failed.

Easy fix for me was to remove the test run from the build script. Last
detail: 2 cores pentium with 4GB of ram and everything compile using
one core while still being chrooted. This the reason why it takes
forever to build.

Alain
For OpenJDK, you cannot use the -j flag of make. You have to pass 
--with-jobs=x to "sh configure" to enable using more jobs than "(number 
of CPUs) -1"... Also to increase the number of tests run in parallel, 
you can pass "-conc:X" to the test run. Still you need to add "|| true" 
after the command running the tests, to prevent the script from stopping...


Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-dev] Quick detail about OpenJDK

2018-11-23 Thread Alain Toussaint via blfs-dev
Hello,

Since the start of the week, I've been building a gnome desktop based
Linux system with all the recommended and optional packages included
via the ALFS build tool and for OpenJDK, the build took 894 minutes
(yes, nearly 15h) only to fail because 7 tests out of the testsuite
failed.

Easy fix for me was to remove the test run from the build script. Last
detail: 2 cores pentium with 4GB of ram and everything compile using
one core while still being chrooted. This the reason why it takes
forever to build.

Alain
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page