cosmopolitan/build
Justine Tunney e963d9c8e3 Add cpu / mem / fsz limits to build system
Thanks to all the refactorings we now have the ability to enforce
reasonable limitations on the amount of resources any individual
compile or test can consume. Those limits are currently:

- `-C 8` seconds of 3.1ghz CPU time
- `-M 256mebibytes` of virtual memory
- `-F 100megabyte` limit on file size

Only one file currently needs to exceed these limits:

    o/$(MODE)/third_party/python/Objects/unicodeobject.o: \
        QUOTA += -C16  # overrides cpu limit to 16 seconds

This change introduces a new sizetol() function to LIBC_FMT for parsing
byte or bit size strings with Si unit suffixes. Functions like atoi()
have been rewritten too.
2021-08-13 23:40:53 -07:00
..
bootstrap Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
config.mk Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
definitions.mk Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
findtmp Fix build to not require bash #190 2021-06-09 04:39:52 -07:00
functions.mk Initial import 2020-06-15 07:18:57 -07:00
gdb Fix redbean zip central directory lookup 2021-02-27 12:08:28 -08:00
getccversion Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
getcompile Improve build system 2021-02-19 23:03:34 -08:00
hello Improve build system 2021-02-19 23:03:34 -08:00
htags Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
online.mk Improve build system 2021-02-19 23:03:34 -08:00
realify.sed Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
realify.sh Make more improvements 2020-09-28 01:20:34 -07:00
rules.mk Add Lua compiler 2021-08-09 13:09:14 -07:00
sanitycheck Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
sanitycheck2 Fix bug in code written a priori 2020-08-31 21:02:14 -07:00