esp-open-sdk icon indicating copy to clipboard operation
esp-open-sdk copied to clipboard

Speeding Up Build

Open aogriffiths opened this issue 8 years ago • 3 comments
trafficstars

Hi

I just raised an issue in the crosstool-ng tracker but it may be a esp-open-sdk issue. In short the build process is very slow and I'd appreciate some advice speeding it up. See below.

By way of some background - I'm dockerizing the esp-open-sdk which I think will really help people setup consistent esp8266 build environments on any machine. I plan to open source it when I have it working so will be giving it back to the community.

Many thanks Adam


From https://github.com/crosstool-ng/crosstool-ng/issues/701

I'm building a toolchain into a docker images and need to regularly rebuild it; the trouble is it takes ages! I don't have the fastest internet connection but even after the tarballs have been downloaded the installing steps are very slow. The "Installing final gcc compiler" step can take well over an hour.

Can anyone give me any tips for speeding things up? For example:

Is there a way to download all the tarbars in advance and not need to re-download them every time I make the toolchain? Can I reliably do incremental builds, i.e. not have to make clean every time? Any other tips? Thanks Adam

aogriffiths avatar Apr 26 '17 07:04 aogriffiths

Hey Adam,

Let's do this in the actual forums under the Compiler Chat section - there are a few people like @jcmvbkbc @pfalcon @clohr @CHERTS @scargill @nkolban that would have some great advice and should be involved

davydnorris avatar Apr 27 '17 00:04 davydnorris

sorry, but where is the Compiler Chat section (URL??)

itsonlym3 avatar Aug 09 '17 21:08 itsonlym3

http://www.esp8266.com/viewforum.php?f=9

jcmvbkbc avatar Aug 09 '17 21:08 jcmvbkbc