New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[msbuild] Minor refactor + VulkanSDK 1.2.135.0+ build fix #8169
Conversation
ZeeWanderer
commented
May 7, 2020
•
edited
edited
- cmake cmd line extracted to a variable in spirv and glslang msbuild projects
- decreased VULKAN_SDK lib dir priority to avoid linking provided libs instead of rpcs3-built ones because VulkanSDK 1.2.135.0+ now comes with
VulkanSDK 1.2.135.0+ comes with a lot more libs including glslang.lib and SPIRV*.lib. This allows to load all rpcs built libs first.
Same change as was made for llvm_build
Better to update SDK version used in CI too |
This change allows to build with 1.2.135.0 sdk version and should not cause problems for older versions. But ok sure. |
You would need to pr the number to here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine?? Maybe. The inner workings of visual studio files remains largely a mystery to me, but the reasoning is sound. I have only one suggestion, with spirv opt library shipping with the SDK, we don't need to force build the spirv-tools-build project, making it an optional rebuild like llvm or glslang.
@kd-11 spiv-tools and glslang libs provided by VulkanSDK use MD runtime which is strange since it seems like vulkan-1 is statically linked to runtime or at least it does not contain Facepalm, right |
Ok, then, I suppose current setup will do. |