File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/getting-started/installation/compiling-from-source Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ We recommend compiling JuleC's IR codes with Clang and C++17. The recommended bu
4040
4141Recommended compile command (Unix):
4242``` sh
43- clang++ -O3 -fno-strict-aliasing -fwrapv -ffloat-store --std=c++17 -Wno-everything -o bin/julec ir.cpp
43+ clang++ -Wno-everything --std=c++17 -fwrapv -ffloat-store -fno-fast-math -fexcess-precision=standard -fno-rounding-math -ffp-contract=fast -O3 -flto=thin -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -o ./ bin/julec ir.cpp
4444```
4545
4646Recommended compile command (Windows):
4747``` sh
48- clang++ -O3 -fno-strict-aliasing -fwrapv -ffloat-store --std=c++17 -Wno-everything -o bin/julec.exe ir.cpp -lws2_32 -lshell32
48+ clang++ -Wno-everything --std=c++17 -fwrapv -ffloat-store -fno-fast-math -fno-rounding-math -ffp-contract=fast -O3 -flto=thin -fuse-ld=lld -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -o bin/julec.exe ir.cpp -lws2_32 -lshell32
4949```
5050
5151::: warning
You can’t perform that action at this time.
0 commit comments