Skip to content

Commit 9d52bfa

Browse files
committed
update compile commands
1 parent 022b8ad commit 9d52bfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/getting-started/installation/compiling-from-source/compile-from-ir.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ We recommend compiling JuleC's IR codes with Clang and C++17. The recommended bu
4040

4141
Recommended 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

4646
Recommended 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

0 commit comments

Comments
 (0)