Ekumen-OS / beluga-demos

Official demos of the Beluga project
Apache License 2.0
4 stars 1 forks source link

Build demos sequentially #4

Closed hidmic closed 2 months ago

hidmic commented 8 months ago

Precisely what the title says. beluga_demo_build crashed my OS on build, and I have an i7 and 32GB worth of RAM.

glpuga commented 8 months ago

That's weird. Both my computers have half that RAM and it does not crash with the current setup.

Do notice that the current setup has this to prevent the build from crashing due to memory (which did happen without this in my I9). With this the most I observed during build was about 8GB used.

I did not add sequential to the build process because it's so conservative. If we do use sequential, I recommend we remove the MAKEFLAGS variable from the environment.

hidmic commented 8 months ago

Do notice that the current setup has this to prevent the build from crashing due to memory (which did happen without this in my I9). With this the most I observed during build was about 8GB used.

MAKEFLAGS is indeed set :thinking:

glpuga commented 8 months ago

Notice that I force pushed to this MR after squashing main.

hidmic commented 8 months ago

Alternatively, we could provide two build command aliases: the current one, plus another, sequential, for modest computers.

hidmic commented 2 months ago

This was never a problem again. Closing.