mirror of https://github.com/llvm/torch-mlir
parent
5d6c4f48dc
commit
76728491cb
|
@ -71,7 +71,7 @@ cmake -GNinja -Bbuild \
|
||||||
# Additional quality of life CMake flags:
|
# Additional quality of life CMake flags:
|
||||||
# Enable ccache:
|
# Enable ccache:
|
||||||
# -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
# -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||||
# Enale LLD (links in seconds compared to minutes)
|
# Enable LLD (links in seconds compared to minutes)
|
||||||
# -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld"
|
# -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld"
|
||||||
# Use --ld-path= instead of -fuse-ld=lld for clang > 13
|
# Use --ld-path= instead of -fuse-ld=lld for clang > 13
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ cmake --build build --target tools/torch-mlir/all
|
||||||
cmake --build build --target check-torch-mlir
|
cmake --build build --target check-torch-mlir
|
||||||
|
|
||||||
# Build everything (including LLVM)
|
# Build everything (including LLVM)
|
||||||
# cmake --build build
|
cmake --build build
|
||||||
```
|
```
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue