Skip to content

Commit

Permalink
fix msvc build
Browse files Browse the repository at this point in the history
  • Loading branch information
lzhangzz committed Nov 29, 2023
1 parent 9780108 commit 6a3fe75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builder/windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

- [CMake 3.17+](https://github.com/Kitware/CMake/releases)
- [Visual Studio 2019+](https://visualstudio.microsoft.com/downloads/)
- [Visual Studio 2022+](https://visualstudio.microsoft.com/downloads/)
- [CUDA Toolkit 11.8+](https://developer.nvidia.com/cuda-toolkit-archive)

## Build lmdeploy wheel
Expand Down
2 changes: 1 addition & 1 deletion builder/windows/generate.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake .. -A x64 -T v142,cuda="$env:CUDA_PATH" `
cmake .. -A x64 -T v143,cuda="$env:CUDA_PATH" `
-DCMAKE_BUILD_TYPE=Release `
-DCMAKE_INSTALL_PREFIX=install `
-DBUILD_PY_FFI=ON `
Expand Down

0 comments on commit 6a3fe75

Please sign in to comment.