The compiler is now compiled with O3.
This commit is contained in:
parent
9b38c6d804
commit
5d2c0e787e
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import System.Process.Extra (
|
|||
-- spawnWait s = spawnCommand s >>= \s >>= waitForProcess
|
||||
|
||||
optimize :: String -> IO String
|
||||
optimize = readCreateProcess (shell "opt --O3 -S")
|
||||
optimize = readCreateProcess (shell "opt --O3 --tailcallopt -S")
|
||||
|
||||
compileClang :: String -> IO String
|
||||
compileClang =
|
||||
|
|
@ -20,7 +20,7 @@ compileClang =
|
|||
, "src/GC/lib/event.cpp"
|
||||
, "src/GC/lib/heap.cpp"
|
||||
, "src/GC/lib/profiler.cpp"
|
||||
, "-Wall -Wextra -g -std=gnu++20 -stdlib=libstdc++"
|
||||
, "-Wall -Wextra -g -std=gnu++20 -stdlib=libstdc++ -O3"
|
||||
, "-Isrc/GC/include"
|
||||
, "-x"
|
||||
, "ir" -- , "-Lsrc/GC/lib -l:gcoll.a"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue