Skip to content

Commit

Permalink
Added optional iterations argument for 'improve' mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Feb 19, 2021
1 parent 9f58e84 commit d41353b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set range_libs=/RANGE:opengl32
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

set mode=fast
set iterations=100000
if /i "%1" == "improve" set mode=improve
if /i "%1" == "stable" set mode=stable
if /i "%1" == "repro" set mode=repro
Expand All @@ -29,7 +30,10 @@ set reuse_file=%out_folder%reuse.dat

if %mode% == improve (
set crinkler_reuse=IMPROVE
set crinkler_options=/COMPMODE:FAST /ORDERTRIES:100000 /HASHTRIES:1000
if not "%2" == "" (
set iterations=%2
)
set crinkler_options=/COMPMODE:FAST /ORDERTRIES:!iterations! /HASHTRIES:1000
)

if %mode% == stable (
Expand Down

0 comments on commit d41353b

Please sign in to comment.