# stage2: Add support for testing LLVM enabled builds in test-stage2 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0151f3b76ad9dca6c73d44876c263d5e27d92ab3)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0151f3b76ad9dca6c73d44876c263d5e27d92ab3

Requested commit: 0151f3b76ad9dca6c73d44876c263d5e27d92ab3

Commit: 0151f3b76ad9dca6c73d44876c263d5e27d92ab3

Tree: ba5b4391a07a8cafb85916cf1525cadb473ce508

Author: Timon Kruiper

Committer: Timon Kruiper

## Message

```
stage2: Add support for testing LLVM enabled builds in test-stage2

To make sure that we don't have to rebuild libc for every case, we now
have a seperate cache directory for the global cache, which remains
the same between test runs.

Also make sure to destory the Compilation before executing a child process,
otherwise the compiler deadlocks. (#7596)

```

## Parents

- [a926c91814bbfa29be7f75c7cfeeda0e2d0669d2](https://git.cafe/gitcafe/zig/commit/a926c91814bbfa29be7f75c7cfeeda0e2d0669d2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0151f3b76ad9dca6c73d44876c263d5e27d92ab3?format=markdown)
