| ... | ... | @@ -53,7 +53,6 @@ pub fn build(b: *Builder) !void { |
| 53 | 53 | exe.setBuildMode(mode); |
| 54 | 54 | test_step.dependOn(&exe.step); |
| 55 | 55 | b.default_step.dependOn(&exe.step); |
| 56 | | exe.install(); |
| 57 | 56 | |
| 58 | 57 | const skip_release = b.option(bool, "skip-release", "Main test suite skips release builds") orelse false; |
| 59 | 58 | const skip_release_small = b.option(bool, "skip-release-small", "Main test suite skips release-small builds") orelse skip_release; |
| ... | ... | @@ -70,6 +69,9 @@ pub fn build(b: *Builder) !void { |
| 70 | 69 | |
| 71 | 70 | try configureStage2(b, exe, ctx); |
| 72 | 71 | } |
| 72 | if (!only_install_lib_files) { |
| 73 | exe.install(); |
| 74 | } |
| 73 | 75 | const link_libc = b.option(bool, "force-link-libc", "Force self-hosted compiler to link libc") orelse false; |
| 74 | 76 | if (link_libc) exe.linkLibC(); |
| 75 | 77 | |