| ... | @@ -171,7 +171,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -171,7 +171,7 @@ pub fn build(b: *std.Build) !void { |
| 171 | const tracy_callstack = b.option(bool, "tracy-callstack", "Include callstack information with Tracy data. Does nothing if -Dtracy is not provided") orelse (tracy != null); | 171 | const tracy_callstack = b.option(bool, "tracy-callstack", "Include callstack information with Tracy data. Does nothing if -Dtracy is not provided") orelse (tracy != null); |
| 172 | const tracy_allocation = b.option(bool, "tracy-allocation", "Include allocation information with Tracy data. Does nothing if -Dtracy is not provided") orelse (tracy != null); | 172 | const tracy_allocation = b.option(bool, "tracy-allocation", "Include allocation information with Tracy data. Does nothing if -Dtracy is not provided") orelse (tracy != null); |
| 173 | const tracy_callstack_depth: u32 = b.option(u32, "tracy-callstack-depth", "Declare callstack depth for Tracy data. Does nothing if -Dtracy_callstack is not provided") orelse 10; | 173 | const tracy_callstack_depth: u32 = b.option(u32, "tracy-callstack-depth", "Declare callstack depth for Tracy data. Does nothing if -Dtracy_callstack is not provided") orelse 10; |
| 174 | const force_gpa = b.option(bool, "force-gpa", "Force the compiler to use GeneralPurposeAllocator") orelse false; | 174 | const debug_gpa = b.option(bool, "debug-allocator", "Force the compiler to use DebugAllocator") orelse false; |
| 175 | const link_libc = b.option(bool, "force-link-libc", "Force self-hosted compiler to link libc") orelse (enable_llvm or only_c); | 175 | const link_libc = b.option(bool, "force-link-libc", "Force self-hosted compiler to link libc") orelse (enable_llvm or only_c); |
| 176 | const sanitize_thread = b.option(bool, "sanitize-thread", "Enable thread-sanitization") orelse false; | 176 | const sanitize_thread = b.option(bool, "sanitize-thread", "Enable thread-sanitization") orelse false; |
| 177 | const strip = b.option(bool, "strip", "Omit debug information"); | 177 | const strip = b.option(bool, "strip", "Omit debug information"); |
| ... | @@ -233,7 +233,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -233,7 +233,7 @@ pub fn build(b: *std.Build) !void { |
| 233 | exe_options.addOption(bool, "llvm_has_csky", llvm_has_csky); | 233 | exe_options.addOption(bool, "llvm_has_csky", llvm_has_csky); |
| 234 | exe_options.addOption(bool, "llvm_has_arc", llvm_has_arc); | 234 | exe_options.addOption(bool, "llvm_has_arc", llvm_has_arc); |
| 235 | exe_options.addOption(bool, "llvm_has_xtensa", llvm_has_xtensa); | 235 | exe_options.addOption(bool, "llvm_has_xtensa", llvm_has_xtensa); |
| 236 | exe_options.addOption(bool, "force_gpa", force_gpa); | 236 | exe_options.addOption(bool, "debug_gpa", debug_gpa); |
| 237 | exe_options.addOption(DevEnv, "dev", b.option(DevEnv, "dev", "Build a compiler with a reduced feature set for development of specific features") orelse if (only_c) .bootstrap else .full); | 237 | exe_options.addOption(DevEnv, "dev", b.option(DevEnv, "dev", "Build a compiler with a reduced feature set for development of specific features") orelse if (only_c) .bootstrap else .full); |
| 238 | exe_options.addOption(ValueInterpretMode, "value_interpret_mode", value_interpret_mode); | 238 | exe_options.addOption(ValueInterpretMode, "value_interpret_mode", value_interpret_mode); |
| 239 | | 239 | |
| ... | @@ -608,7 +608,7 @@ fn addWasiUpdateStep(b: *std.Build, version: [:0]const u8) !void { | ... | @@ -608,7 +608,7 @@ fn addWasiUpdateStep(b: *std.Build, version: [:0]const u8) !void { |
| 608 | | 608 | |
| 609 | exe_options.addOption(u32, "mem_leak_frames", 0); | 609 | exe_options.addOption(u32, "mem_leak_frames", 0); |
| 610 | exe_options.addOption(bool, "have_llvm", false); | 610 | exe_options.addOption(bool, "have_llvm", false); |
| 611 | exe_options.addOption(bool, "force_gpa", false); | 611 | exe_options.addOption(bool, "debug_gpa", false); |
| 612 | exe_options.addOption([:0]const u8, "version", version); | 612 | exe_options.addOption([:0]const u8, "version", version); |
| 613 | exe_options.addOption(std.SemanticVersion, "semver", semver); | 613 | exe_options.addOption(std.SemanticVersion, "semver", semver); |
| 614 | exe_options.addOption(bool, "enable_debug_extensions", false); | 614 | exe_options.addOption(bool, "enable_debug_extensions", false); |