This commit is contained in:
Asuka 2023-06-27 17:54:38 +08:00
parent 7ac9998c78
commit 88480de36f
2 changed files with 3 additions and 2 deletions

View file

@ -69,7 +69,8 @@ jobs:
# Fix a LLVM/VS bug which installs/checks wrong path.
# Then write a Directory.build.props file to specify clang-cl path.
run: |
$lib_path="${{env.LLVM_PATH}}\lib\clang\16";if(Test-Path $lib_path){ Rename-Item -Path $lib_path -NewName "${{env.LLVM_VERSION}}" }
$lib_path="${{env.LLVM_PATH}}\lib\clang\16"
if(Test-Path $lib_path) { Rename-Item -Path $lib_path -NewName "${{env.LLVM_VERSION}}" }
Set-Content -Path .\Directory.build.props -Value "<Project>`n <PropertyGroup>`n <LLVMInstallDir>${{env.LLVM_PATH}}</LLVMInstallDir>`n <LLVMToolsVersion>${{env.LLVM_VERSION}}</LLVMToolsVersion>`n </PropertyGroup>`n</Project>"

View file

@ -21,7 +21,7 @@ Build steps:
2. Checkout a proper branch.
3. Close your Visual Studio first, install Vulkan SDK listed above.
4. Restart Visual Studio, build 3rdParty libraries one by one, then GPCS4.
5. If you still can't build, try to change clang or vulkan sdk version. My clang version is 13.0.0 and vulkan sdk version is 1.3.204.1. Other versions are not tested.
5. If you still can't build, try to change clang or vulkan sdk version. My clang version is 16.0.6 and vulkan sdk version is 1.3.204.1. Other versions are not tested. Or see the the [action script](https://github.com/Inori/GPCS4/blob/master/.github/workflows/build-windows.yml)
## Run demos/games: