diff --git a/byterun/performance_check.sh b/byterun/performance_check.sh index fee1d0931..e27172c14 100755 --- a/byterun/performance_check.sh +++ b/byterun/performance_check.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash -dune build > /dev/null +xmake build +cp "build/linux/x86_64/release/byterun" byterun.exe + +# dune build > /dev/null compiler=../_build/default/src/Driver.exe diff --git a/byterun/xmake.lua b/byterun/xmake.lua index 0949913f1..3a7ad8ce3 100644 --- a/byterun/xmake.lua +++ b/byterun/xmake.lua @@ -5,6 +5,7 @@ set_languages("c++20", "c11") target("byterun") set_kind("binary") + add_cxflags("-O3") add_includedirs("include", "../runtime") add_files("../runtime/**.c", "../runtime/**.S") add_files( "src/**.cpp", "src/**.c")