Compare commits

...

1 commit

Author SHA1 Message Date
Alex Rønne Petersen
b751e4a450
set max_rss=1 everywhere to see what we actually get on all machines 2025-12-03 02:34:13 +01:00
2 changed files with 6 additions and 5 deletions

View file

@ -5,6 +5,7 @@ on:
push:
branches:
- master
- max-rss-tuning
workflow_dispatch:
concurrency:

View file

@ -459,8 +459,7 @@ pub fn build(b: *std.Build) !void {
.skip_linux = skip_linux,
.skip_llvm = skip_llvm,
.skip_libc = skip_libc,
// 3888779264 was observed on an x86_64-linux-gnu host.
.max_rss = 4000000000,
.max_rss = 1,
}));
test_modules_step.dependOn(tests.addModuleTests(b, .{
@ -483,6 +482,7 @@ pub fn build(b: *std.Build) !void {
.skip_llvm = skip_llvm,
.skip_libc = true,
.no_builtin = true,
.max_rss = 1,
}));
test_modules_step.dependOn(tests.addModuleTests(b, .{
@ -505,6 +505,7 @@ pub fn build(b: *std.Build) !void {
.skip_llvm = skip_llvm,
.skip_libc = true,
.no_builtin = true,
.max_rss = 1,
}));
test_modules_step.dependOn(tests.addModuleTests(b, .{
@ -526,8 +527,7 @@ pub fn build(b: *std.Build) !void {
.skip_linux = skip_linux,
.skip_llvm = skip_llvm,
.skip_libc = skip_libc,
// I observed a value of 5605064704 on the M2 CI.
.max_rss = 6165571174,
.max_rss = 1,
}));
const unit_tests_step = b.step("test-unit", "Run the compiler source unit tests");
@ -721,7 +721,7 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu
fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile {
const exe = b.addExecutable(.{
.name = "zig",
.max_rss = 7_800_000_000,
.max_rss = 1,
.root_module = addCompilerMod(b, options),
});
exe.stack_size = stack_size;