Skip to content

Commit

Permalink
remove -j1 now that ziglang/zig#14978 is supposedly fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibo committed Jan 7, 2024
1 parent 48b4d64 commit 0fd74de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/test/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export const iterations = (gens: Generations, num: number, battles: number, seed
const data: {[name: string]: number[]} = {};

for (const showdown of [true, false]) {
sh('zig', ['build', '-j1', `-Dshowdown=${showdown.toString()}`, 'tools', '-p', 'build']);
sh('zig', ['build', `-Dshowdown=${showdown.toString()}`, 'tools', '-p', 'build']);
for (const gen of gens) {
if (gen.num > 1) break;
patch.generation(gen);
Expand Down Expand Up @@ -331,7 +331,7 @@ const parse = (file: string) => {

export const comparison = async (gens: Generations, battles: number, seed: number[]) => {
const results: {[format: string]: {[config: string]: bigint}} = {};
sh('zig', ['build', '-j1', '-Dshowdown=true', 'tools', '-p', 'build']);
sh('zig', ['build', '-Dshowdown=true', 'tools', '-p', 'build']);

for (const gen of gens) {
if (gen.num > 1) break;
Expand Down
2 changes: 1 addition & 1 deletion src/test/fuzz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function run(
seed?: bigint,
testing?: boolean,
) {
const args = ['build', '-j1', '--summary', 'failures', 'fuzz', '-Dlog', '-Dchance', '-Dcalc'];
const args = ['build', '--summary', 'failures', 'fuzz', '-Dlog', '-Dchance', '-Dcalc'];
if (showdown) args.push('-Dshowdown');
args.push('--', gen.toString(), duration);
if (seed) args.push(seed.toString());
Expand Down

0 comments on commit 0fd74de

Please sign in to comment.