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
[moltenvk] New Port #14819
[moltenvk] New Port #14819
Conversation
I'll help you to improve this PR later. |
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Ops, the official build type is to use xcodebuild which we don’t support it now. |
@Haeri I don't know xcode because I have never used it for development. Can you help me if I have any questions? |
Unfortunately me neither 😅 and I don't have access to a mac either at the moment. I am also not associated with the MoltenVK project in any way. I'm just trying to get it to work with my project. It is a bit unfortunate that they insist on using xcode instead of cmake or actual make (as you saw, their make file just calls xcode) but they argue, that this is justified, since this is an apple only project. Also it is a bit surprising that the initial PR azure build failed as I have tested that version in my project with GitHub actions: PS: Any particular reason you removed the adjustments to ci.baseline.txt? |
@Haeri If we added |
@Haeri Can you try this PR locally? |
@JackBoosY The main issue is that the vulkan dependency is only a check if the Vulkan SDK is installed and does not actually contain anything in it. That's why it fails when I run it on the GitHub runner: I assume that the Vulkan SDK is installed on the Azure pipeline, seeing that it didn't fail there. |
@Haeri No, Vulkan is skipped on our pipeline test. |
As @strega-nil said:
|
@JackBoosY Not sure if this comment was directed towards me, but moltenvk is the compatibility layer @strega-nil is referring to. |
So if this PR works locally, then we can accept this without test on the pipeline. |
@JackBoosY @Haeri isn't it the case that |
@strega-nil Yes MoltenVk is a portability implementation that allows Vulkan to run on Metal. It does have some prerequisites or dependencies on:
All of them already have vcpkg ports except for
Unfortunately I am not able to find more log files to see what the problem is. |
@Haeri Can you manually run the command According to the official build docs, this command should work. |
@JackBoosY https://github.com/Haeri/Mac-Runner/runs/1628845754?check_suite_focus=true#step:5:56 |
@Haeri Yeah... |
@Haeri, we prefer using CMake buildsystems, the OSX CI test machines doesn't support to executing the commands, and may not support in future, may be you can add a custom CMakeLists.txt instead? |
@PhoebeHui I completely understand and I also would have preferred for them to provide a proper cmake build system instead, but unfortunately, that's what they chose. |
@Haeri, thanks for your response! |
This is a first attempt to port MoltenVK. This port is not 100% perfect and has TODOs but this is a first base-implementation. The port is based on the unfortunately closed #9575 PR.
What does your PR fix? Fixes #
This is a new port [New Port Request] MoltenVK #14698
Which triplets are supported/not supported? Have you updated the CI baseline?
Only osx is supported. CI is updated.
Does your PR follow the maintainer guide?
As much as possible. Unfortunately the dependencies of MoltenVK are handled with script files. It would require a big patch to adjust the dependencies to vcpkg.