File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ git config core.abbrev 9
2020git fetch --unshallow || true
2121git fetch --tags
2222
23+ # Test building from source without LLVM.
24+ git clean -fd
25+ rm -rf zig-out
26+ cc -o bootstrap bootstrap.c
27+ ./bootstrap build -Dno-lib
28+ # In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
29+ # ./zig-out/bin/zig test test/behavior.zig
30+
2331export CC=" $ZIG cc -target $TARGET -mcpu=$MCPU "
2432export CXX=" $ZIG c++ -target $TARGET -mcpu=$MCPU "
2533
Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ git config core.abbrev 9
2020git fetch --unshallow || true
2121git fetch --tags
2222
23+ # Test building from source without LLVM.
24+ git clean -fd
25+ rm -rf zig-out
26+ cc -o bootstrap bootstrap.c
27+ ./bootstrap build -Dno-lib
28+ # In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
29+ # ./zig-out/bin/zig test test/behavior.zig
30+
2331export CC=" $ZIG cc -target $TARGET -mcpu=$MCPU "
2432export CXX=" $ZIG c++ -target $TARGET -mcpu=$MCPU "
2533
You can’t perform that action at this time.
0 commit comments