cosmopolitan/tool/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
..
emubin Improve dead code elimination 2021-02-08 04:04:42 -08:00
emucrt Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lib Undiamond Python headers 2021-08-12 14:07:40 -07:00
ar.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
bigmul.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
blinkenlights.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
build.mk Undiamond Python headers 2021-08-12 14:07:40 -07:00
calculator.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
calculator.ctest Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
calculator.inc Add SSL to redbean 2021-06-24 13:20:50 -07:00
compile.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
deltaify.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
deltaify2.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
dis.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
dropcache.c Change license 2020-12-27 17:18:44 -08:00
helpop.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lz4toasm.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
mkdeps.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
package.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
pstrace.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
refactor.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
rle.c Change license 2020-12-27 17:18:44 -08:00
rollup.c Change license 2020-12-27 17:18:44 -08:00
runit.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
runit.h Initial import 2020-06-15 07:18:57 -07:00
runitd.c Add state assertions to redbean Lua APIs 2021-08-09 15:35:38 -07:00
summy.c Fix build and delete superfluous files 2021-08-09 06:57:14 -07:00
tinyemu.c Fix our remarkable 184kb x86_64 emulator 2021-01-27 20:02:23 -08:00
x86combos.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
zipobj.c Undiamond Python headers 2021-08-12 14:07:40 -07:00