S
S
Sergey Karbivnichy2021-11-15 20:51:37
linux
Sergey Karbivnichy, 2021-11-15 20:51:37

Is it possible to make the ./configure script work with all kernels?

I often collect software from source. Since the laptop is weak (2 cores), I take a powerful VDS hourly (or minutely). Today I wanted to build haiku OS. To build this OS, you need to clone 2 repositories. The first is buildtools (there are different utilities and gcc), the second is actually haiku OS. First you need to configure the project:

../configure --cross-tools-source ../../buildtools --build-cross-tools x86_64

then the assembly itself: jam -q -j2 @nightly-raw #-j2 - количество ядер
If there are no problems with the assembly of the OS itself, since you can specify the number of cores there, then the configuration script takes a very long time (about an hour). When running ./configure, I noticed that a lot of utilities are being built, including gcc and source code, and 8 cores are loaded by about 3-10%. So is it possible to use all cores to speed up the buildtools build?

PS: jam -q -j8 @nightly-rawloads all the cores to the eyeballs.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2021-11-15
@hottabxp

Ha, it's pretty simple! You can pass the -j8 option to configure!

../configure -j8 --cross-tools-source ../../buildtools --build-cross-tools x86_64
Works!
Found the solution by accident while browsing the haiku forum: How to compile Haiku on Haiku?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question