aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-05-15 22:40:14 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2022-05-15 22:40:14 +0200
commitc141c6a999915871ccff2e78eebf7847b24b0e5d (patch)
tree72c816afff56514915a723f7e8ffe32d787a543e /build.bat
parent008c89c7ddfe9bd8696236932ecdeae3be41e6fc (diff)
Fix odin changes
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.bat b/build.bat
index 4b09447..7267247 100644
--- a/build.bat
+++ b/build.bat
@@ -2,15 +2,15 @@
if "%1" == "CI" (
- "Odin/odin.exe" test tests -collection:shared=src -debug -opt:0
+ "Odin/odin.exe" test tests -collection:shared=src -debug
if %errorlevel% neq 0 exit 1
- "Odin/odin.exe" build src\ -show-timings -collection:shared=src -out:ols -opt:2 -thread-count:1
+ "Odin/odin.exe" build src\ -show-timings -collection:shared=src -out:ols.exe -o:speed -thread-count:1
) else if "%1" == "test" (
- odin test tests -collection:shared=src -opt:0
+ odin test tests -collection:shared=src -debug
) else if "%1" == "single_test" (
odin test tests -collection:shared=src -test-name:%2
) else if "%1" == "debug" (
- odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols -opt:0 -debug
+ odin build src\ -show-timings -collection:shared=src -out:ols.exe -o:speed -no-bounds-check -debug
) else (
- odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols -opt:2 -no-bounds-check
+ odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols.exe -o:speed -no-bounds-check
) \ No newline at end of file