cosmopolitan/third_party
Justine Tunney cf93ecbbb2 Prove that Makefile is fully defined
The whole repository is now buildable with GNU Make Landlock sandboxing.
This proves that no Makefile targets exist which touch files other than
their declared prerequisites. In order to do this, we had to:

  1. Stop code morphing GCC output in package.com and instead run a
     newly introduced FIXUPOBJ.COM command after GCC invocations.

  2. Disable all the crumby Python unit tests that do things like create
     files in the current directory, or rename() files between folders.
     This ended up being a lot of tests, but most of them are still ok.

  3. Introduce an .UNSANDBOXED variable to GNU Make to disable Landlock.
     We currently only do this for things like `make tags`.

  4. This change deletes some GNU Make code that was preventing the
     execve() optimization from working. This means it should no longer
     be necessary in most cases for command invocations to be indirected
     through the cocmd interpreter.

  5. Missing dependencies had to be declared in certain places, in cases
     where they couldn't be automatically determined by MKDEPS.COM

  6. The libcxx header situation has finally been tamed. One of the
     things that makes this difficult is MKDEPS.COM only wants to
     consider the first 64kb of a file, in order to go fast. But libcxx
     likes to have #include lines buried after huge documentation.

  7. An .UNVEIL variable has been introduced to GNU Make just in case
     we ever wish to explicitly specify additional things that need to
     be whitelisted which aren't strictly prerequisites. This works in
     a manner similar to the recently introduced .EXTRA_PREREQS feature.

There's now a new build/bootstrap/make.com prebuilt binary available. It
should no longer be possible to write invalid Makefile code.
2022-08-06 04:05:08 -07:00
..
argon2 Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
bzip2 Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
chibicc Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
compiler_rt Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
dlmalloc Always initialize thread local storage 2022-07-19 00:21:46 -07:00
double-conversion Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
finger Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
gcc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
gdtoa Add more missing libc/libc++ functions 2022-07-22 07:20:21 -07:00
getopt Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
libcxx Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
linenoise Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
lua Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
lz4cli Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
make Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
maxmind Add maxmind to redbean 2022-03-18 03:17:08 -07:00
mbedtls Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
musl Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
python Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
quickjs Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
regex Write more redbean unit tests 2022-07-08 23:10:02 -07:00
smallz4 Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
sqlite3 Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
stb Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
tidy Refactor gettimeofday() 2022-08-05 02:13:41 -07:00
unzip Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
xed Fixup and polish chibicc some more 2022-06-20 04:32:25 -07:00
zip Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
zlib Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
third_party.mk Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00