adjust building from source without LLVM process

The idea here is that the zig2 executable is perhaps the more useful
deliverable until we implement our own optimization passes. This will
allow system packages to provide Zig, and use it to compile Zig
projects, all without LLVM!
This commit is contained in:
Andrew Kelley
2023-11-13 14:30:21 -07:00
parent 569182dbb2
commit f8b38a174f
4 changed files with 13 additions and 20 deletions

View File

@@ -24,7 +24,8 @@ git fetch --tags
git clean -fd
rm -rf zig-out
cc -o bootstrap bootstrap.c
./bootstrap build -Dno-lib
./bootstrap
./zig2 build -Dno-lib
# In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
# ./zig-out/bin/zig test test/behavior.zig