Skip to content

Commit

Permalink
docs: update build instruction to turn off native option
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriankhl committed May 3, 2024
1 parent f3cc22c commit fb6a5e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ Run `cmake`.

On Windows:
```
cmake .. -GNinja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DLLAMA_VULKAN=1 -DCMAKE_BUILD_TYPE=Release
cmake .. -GNinja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DLLAMA_NATIVE=OFF -DLLAMA_VULKAN=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Release
```

On Linux:
```
cmake .. -GNinja -DLLAMA_VULKAN=1 -DCMAKE_BUILD_TYPE=Release
cmake .. -GNinja -DLLAMA_VULKAN=1 -DLLAMA_NATIVE=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Release
```

For Android, set `$NDK_PATH` to your android ndk directory, then:
Expand Down

0 comments on commit fb6a5e6

Please sign in to comment.