cosmopolitan/tool
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
..
build Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
decode Make redbean SSL more tunable 2021-08-09 07:38:57 -07:00
emacs Undiamond Python headers 2021-08-12 14:07:40 -07:00
hash Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
net Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
scripts Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
viz Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
tool.mk Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00