Commit Graph

8 Commits (dac7dc2a3563788dc7cc86f003f87613dfbd775a)

Author SHA1 Message Date
Rémi Verschelde e7ebeccd25 SCons: Default `num_jobs` to max CPUs minus 1 if not specified
This doesn't change the behavior when `--jobs`/`-j` is specified as a
command-line argument or in `SCONSFLAGS`.

The SCons hack used to know if `num_jobs` was set by the user is derived
from the MongoDB setup.

We use `os.cpu_count()` for portability (available since Python 3.4).

With 4 CPUs or less, we use the max. With more than 4 we use max - 1 to
preserve some bandwidth for the user's other programs.

Makefile: Dehardcode -j4, SCons defaults to max - 1

(cherry picked from commits cdcd473371 and
c2b35fb226)
2022-07-18 13:00:17 +02:00
Rémi Verschelde b36df8f86c Rename godot_headers to godot-headers to match upstream rename
Also updated the URLs which were still pointing to the old GitHub org.
2021-02-26 10:07:38 +01:00
Emmanuel Leblond 0fa4ad290d
Fix Makefile platform and bits arguments passing to scons 2019-03-10 12:38:55 +01:00
karroffel 684a06daf2 included godot_headers as submodule 2018-05-16 02:11:41 +02:00
karroffel a212746a3d add clang option to makefile 2018-03-02 19:03:57 +01:00
QuentinCaffeino 43f57c7f80 Bindings are generated by default; Replaced generate with regenerate flag; Updated readme 2018-02-25 16:25:42 +01:00
QuentinCaffeino 38cfd627f3 Fixed godo bin path in makefile 2018-02-22 23:20:25 +01:00
QuentinCaffeino 55ce1da2dc Added crosscompiling for linux-windows; Added makefile 2018-02-22 23:16:25 +01:00