Skip to content

Commit 39e4df3

Browse files
Per NordlöwPer Nordlöw
authored andcommitted
Add Julia flags
1 parent 8e97be9 commit 39e4df3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

benchmark

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ C_WARN_FLAGS = ['-Wall', '-Wextra', '-Wno-c++11-extensions']
3131
RUSTC_NO_WARNINGS_FLAGS = ['-A', 'warnings'] # flags that disable warnings for `rustc`
3232
RUSTC_FLAGS = [] # set to `RUSTC_NO_WARNINGS_FLAGS` to disable warnings
3333

34-
JULIA_EXE_FLAGS = ['--compile=min']
34+
JULIA_INTERPRET_FLAGS = ['--compile=min'] # See: https://github.com/JuliaLang/julia/issues/41360#issuecomment-872075102
35+
JULIA_COMPILE_FLAGS = ['-O0'] # See: https://github.com/JuliaLang/julia/issues/41360#issuecomment-872075102
3536

3637
ROOT_PATH = 'generated'
3738
RANGE = range(5, 15)
@@ -991,7 +992,7 @@ def benchmark_Julia(results, code_paths, args, op, templated):
991992
out_flag_and_exe=[],
992993
exe=exe,
993994
runner=False,
994-
exe_flags=JULIA_EXE_FLAGS,
995+
exe_flags=JULIA_INTERPRET_FLAGS, # TODO: use JULIA_COMPILE_FLAGS aswell
995996
args=args,
996997
op=op,
997998
compiler_version=version,

0 commit comments

Comments
 (0)